Get Order Details

Retrieve order details and status using the Order Invoice Number or the Website Order ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

How {id} is matched

Every lookup is limited to the merchant that owns the API key.

  1. {id} is checked against the Order Invoice Number first. If an order matches, it is returned and sourceUrl is ignored.
  2. If no Invoice Number matches, {id} is checked against the Website Order ID (shown as Website Order ID under Order Overview on the Order Details page).
  3. If the matching orders come from one website, the order is returned. sourceUrl is not needed. When several orders on the same website share the number, the newest one is returned.
  4. If the matching orders come from more than one website and no sourceUrl is sent, the API returns 409 Conflict with a sourceUrls list of the websites that matched. Send the request again with one of them as sourceUrl.
  5. With sourceUrl, only the order from that website is returned. If none matches, the API returns 404 Not Found.
  6. If nothing matches, the API returns 404 Not Found.

The response body is the same whichever field found the order. {id} is case-sensitive.

Path Params
string
required

The Order Invoice Number (for example SO-0013) or the Website Order ID (for example 1027). The Invoice Number is checked first. Case-sensitive.

Query Params
string

Optional. Only used when {id} is a Website Order ID. The website the order came from, as shown under Source Info on the Order Details page (for example store-b.example.com.myshopify.com). Upper or lower case, a leading http:// or https://, and a trailing / make no difference. URL-encode the value when it contains ://. Required when the same Website Order ID exists on more than one connected website (see 409).

Headers
string
required
Defaults to API_KEY

Bearer . Find your API key on the Nuport dashboard under Configuration > Integrations. Pressing Generate creates a new key and stops the old one from working.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json