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": "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
Path Parameters
GET /v0/orders/:orderIdOrNumber Parameter
Response
200
application/json
GET /v0/orders/:orderIdOrNumber Positive response
Allowed value:
"success"
Available options:
PENDING
, PAID
, FAILED
, UNPAID
, CANCELLED
, REFUNDED
, PARTIALLY_REFUNDED
, EXPIRED
Required range:
0 <= x <= 9007199254740991
Available options:
order
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Available options:
AFN
, ALL
, DZD
, AOA
, ARS
, AMD
, AWG
, AUD
, AZN
, BSD
, BDT
, BBD
, BZD
, BMD
, BOB
, BAM
, BWP
, BRL
, BHD
, GBP
, BND
, BGN
, BIF
, BYN
, KHR
, CAD
, CVE
, KYD
, KWD
, XAF
, XPF
, CLP
, CNY
, COP
, KMF
, CDF
, CRC
, HRK
, CZK
, DKK
, DJF
, DOP
, XCD
, EGP
, ETB
, EUR
, FKP
, FJD
, GMD
, GEL
, GIP
, GTQ
, GNF
, GYD
, HTG
, HNL
, HKD
, HUF
, ISK
, INR
, IDR
, ILS
, JMD
, JPY
, JOD
, KZT
, KES
, KGS
, LAK
, LBP
, LSL
, LRD
, MOP
, MKD
, MGA
, MWK
, MYR
, MVR
, MRO
, MUR
, MXN
, MDL
, MNT
, MAD
, MZN
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NGN
, NOK
, OMR
, PKR
, PAB
, PGK
, PYG
, PEN
, PHP
, PLN
, QAR
, RON
, RUB
, RWF
, SHP
, SVC
, WST
, STD
, SAR
, RSD
, SCR
, SLL
, SGD
, SBD
, SOS
, ZAR
, KRW
, LKR
, SRD
, SZL
, SEK
, CHF
, TJS
, TZS
, THB
, TND
, TOP
, TTD
, TRY
, UGX
, UAH
, AED
, UYU
, USD
, UZS
, VUV
, VEF
, VND
, XOF
, YER
, ZMW
, SLE
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Available options:
active
, canceled
, incomplete
, incomplete_expired
, past_due
, paused
, trialing
, unpaid
Available options:
day
, week
, month
, year
Required range:
0 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
-1.7976931348623157e+308 <= x <= 1.7976931348623157e+308
Required range:
0 <= x <= 9007199254740991
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
}
}
}
}