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
- Get a list of available order ids
- You can use these ids in the following endpoints:
- UPDATE /orders
- GET, CREATE, DELETE, or UPDATE /line_items
- GET, CREATE, or UPDATE /payments (not available at this time)
- GET, CREATE, or UPDATE /shipping (not available at this time)
Parameter Details
PARAMETERS | REQUIRED | TYPE | NOTES |
---|---|---|---|
account | Y | string | Your JOOR account id Example: "222222" |
order_ids | N | string | The JOOR order ids you are fetching Example: "111111,222222" |
Response Field Details
PARAMETERS | TYPE | NOTES |
---|---|---|
id | string | The JOOR id of the order Example: "123456" |
retailer_id | string | The JOOR retailer id Example: "999999" |
price_type_id | string | The JOOR price type, which contains currencies for the wholesale and retail prices Example: "1234" |
collection_id | string | The JOOR collection id, which contains the start and end dates for this order Example: "12345678" |
status | string | The 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": {}
}
]
}