Get a list of your orders

This endpoint requires JOOR ids.

👍

Endpoint

Params

  • Accept: application/json
  • Authorization: OAuth2 [Base64 encoded token]

Sample cURL Request

curl -X GET "https://apisandbox.jooraccess.com/v4/orders?account=[account_id]&order_ids=[order_id]" -H  "accept: application/json"

Workflow

  1. Get a list of available order ids
  2. You can use these ids in the following endpoints:

Parameter Details

PARAMETERSREQUIREDTYPENOTES
accountYstringYour JOOR account id

Example: "222222"
order_idsNstringThe JOOR order ids you are fetching

Example: "111111,222222"

Response Field Details

PARAMETERSTYPENOTES
idstringThe JOOR id of the order

Example: "123456"
retailer_idstringThe JOOR retailer id

Example: "999999"
price_type_idstringThe JOOR price type, which contains currencies for the wholesale and retail prices

Example: "1234"
collection_idstringThe JOOR collection id, which contains the start and end dates for this order

Example: "12345678"
statusstringThe status for the order

Example: "APPROVED"

Response Example

{
  "data": [
    {
      "id": "string",
      "retailer_id": "string",
      "price_type_id": "string",
      "collection_id": "string",
      "status": "string"
    }
  ],
  "errors": [
    {
      "status": "string",
      "message": "string",
      "details": {}
    }
  ]
}