GET
/
v0
/
orders
/
{orderIdOrNumber}
curl --request GET \
  --url https://api.fungies.io/v0/orders/{orderIdOrNumber} \
  --header 'x-fngs-public-key: <api-key>'
{
  "status": "<string>",
  "data": {
    "order": {
      "object": "order",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "number": "<string>",
      "status": "PENDING",
      "value": 0,
      "tax": 0,
      "fee": 0,
      "totalItems": 0,
      "country": null,
      "currency": null,
      "currencyDecimals": null,
      "createdAt": 4503599627370495,
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user": null,
      "orderNumber": "<string>"
    },
    "subscription": {
      "id": "<string>",
      "currentPeriodEnd": 4503599627370495,
      "currentPeriodStart": 4503599627370495,
      "cancelAtPeriodEnd": true,
      "createdAt": 4503599627370495,
      "status": "active",
      "interval": "day",
      "canceledAt": 4503599627370495,
      "cancellationDetails": {
        "comment": "<string>",
        "feedback": "<string>",
        "reason": "<string>"
      },
      "user": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "email": "jsmith@example.com",
        "createdAt": 4503599627370495,
        "details": {
          "avatar": "<string>"
        },
        "settings": {
          "emailNotifications": true
        },
        "username": "<string>"
      },
      "cart": {
        "id": "<string>",
        "itemsInCart": 0,
        "totalValue": 0,
        "subtotal": 0,
        "totalValueWithTax": 0,
        "totalTax": 0,
        "createdAt": 4503599627370495
      }
    }
  }
}

Authorizations

x-fngs-public-key
string
header
required

Path Parameters

orderIdOrNumber
required

GET /v0/orders/:orderIdOrNumber Parameter

Response

200
application/json
GET /v0/orders/:orderIdOrNumber Positive response
status
string
required
Allowed value: "success"
data
object
required