Skip to Content
Grail Network
API reference

Shop Orders_get Order

GET
/shop/orders/{orderId}

Authorization

shopApiKey
headerAuthorizationBearer <token>

The shop's API key.

Path Parameters

orderId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json
  1. response
data*
Example Request
curl -X GET 'https://api-stg.grailnetwork.com/shop/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",    "buyerId": "string",    "state": "pending",    "reason": "balance_too_low",    "refusedHoldingIds": [      "471cfae2-98a3-4584-9e8c-bc3be8d358a9"    ],    "address": {      "name": "string",      "line1": "string",      "line2": "string",      "city": "string",      "region": "string",      "postalCode": "string",      "country": "string",      "phone": "string"    },    "total": {      "shippingCost": {        "amountAtomic": "string",        "currency": "USD"      },      "markup": {        "amountAtomic": "string",        "currency": "USD"      },      "buyerPrice": {        "amountAtomic": "string",        "currency": "USD"      }    },    "shipments": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "state": "open",        "carrier": "fedex",        "carrierName": "string",        "service": "string",        "serviceName": "string",        "shippingCost": {          "amountAtomic": "string",          "currency": "USD"        },        "markup": {          "amountAtomic": "string",          "currency": "USD"        },        "buyerPrice": {          "amountAtomic": "string",          "currency": "USD"        },        "trackingNumber": "string",        "leftAt": "2019-08-24T14:15:22Z",        "items": [          {            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",            "holdingId": "51ebd04a-ea04-425f-9017-f69b7702e7a3",            "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",            "canceledAt": "2019-08-24T14:15:22Z"          }        ]      }    ],    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}