get https://api.jooraccess.com/v4/collections
Fetch a list of collections.
Endpoint
- Method: GET
- URI:
https://api.jooraccess.com/v4/collections?account=[account_id]
Sample cURL Request
curl -X GET "https://api.jooraccess.com/v4/collections?account=[account_id]" -H "accept: application/json"
Workflow
- Use this collection id in the following endpoints:
a. UPDATE /collections
Request Parameters
PARAMETERS | REQUIRED | TYPE | NOTES |
---|---|---|---|
account | Y | string |
Response Example
{
"data": [
{
"id": "string",
"name": "string",
"external_id": "string",
"delivery": {
"start_ship_date": "string",
"complete_ship_date": "string",
"cancel_date": "string",
"minimum_shipping_window": 0
},
"season": {
"id": "string",
"name": "string",
"year": 0,
"external_id": "string"
},
"visibility": "OWNER",
"items": [
{
"product_id": "string",
"order_number": 0,
"sku_ids": [
"string"
]
}
]
}
],
"errors": [
{
"status": "string",
"message": "string",
"details": {}
}
]
}
No links
default
unexpected error