orders
Get order details
orders
Get order details
Retrieve detailed information about a specific order by its ID or number.
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": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null,
"subscriptionId": null,
"subscription": null,
"orderNumber": "<string>"
},
"subscription": {
"object": "subscription",
"id": "<string>",
"status": "all",
"createdAt": 4503599627370495,
"currentIntervalEnd": 4503599627370495,
"currentIntervalStart": 4503599627370495,
"cancelAtIntervalEnd": false,
"canceledAt": null,
"userId": null,
"user": null,
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"order": {
"object": "order",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING"
},
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null
}
}
}
Authorizations
Path Parameters
GET /v0/orders/:orderIdOrNumber Parameter
Response
200
application/json
GET /v0/orders/:orderIdOrNumber Positive response
The response is of type object
.
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": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null,
"subscriptionId": null,
"subscription": null,
"orderNumber": "<string>"
},
"subscription": {
"object": "subscription",
"id": "<string>",
"status": "all",
"createdAt": 4503599627370495,
"currentIntervalEnd": 4503599627370495,
"currentIntervalStart": 4503599627370495,
"cancelAtIntervalEnd": false,
"canceledAt": null,
"userId": null,
"user": null,
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"order": {
"object": "order",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING"
},
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null
}
}
}