curl --request GET \
--url https://api.fungies.io/v0/orders/{orderIdOrNumber} \
--header 'x-fngs-public-key: <api-key>'{
"status": "<string>",
"data": {
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING",
"createdAt": 4503599627370495,
"orderNumber": "<string>",
"object": "order",
"value": 0,
"tax": 0,
"fee": 0,
"totalItems": 0,
"country": null,
"currency": null,
"currencyDecimals": null,
"userId": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null,
"subscriptionId": null,
"subscription": null
},
"subscription": {
"id": "<string>",
"status": "all",
"createdAt": 4503599627370495,
"currentIntervalEnd": 4503599627370495,
"currentIntervalStart": 4503599627370495,
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING",
"object": "order"
},
"object": "subscription",
"cancelAtIntervalEnd": false,
"canceledAt": null,
"userId": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null
}
}
}Retrieve detailed information about a specific order by its ID or order number.
Returns the full order object including associated user, cart items, subscription (if applicable), and payment details. For subscription orders, also returns the current subscription status.
curl --request GET \
--url https://api.fungies.io/v0/orders/{orderIdOrNumber} \
--header 'x-fngs-public-key: <api-key>'{
"status": "<string>",
"data": {
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING",
"createdAt": 4503599627370495,
"orderNumber": "<string>",
"object": "order",
"value": 0,
"tax": 0,
"fee": 0,
"totalItems": 0,
"country": null,
"currency": null,
"currencyDecimals": null,
"userId": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null,
"subscriptionId": null,
"subscription": null
},
"subscription": {
"id": "<string>",
"status": "all",
"createdAt": 4503599627370495,
"currentIntervalEnd": 4503599627370495,
"currentIntervalStart": 4503599627370495,
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"order": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING",
"object": "order"
},
"object": "subscription",
"cancelAtIntervalEnd": false,
"canceledAt": null,
"userId": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null
}
}
}