API reference
Categories & brands
Read the store's categories and brands (to use their ids on products).
On this page
List categories
get
/categoriesRequired scopes:read_products
Query parameters
| Name | Type | Description |
|---|---|---|
limit | integer | Page size, 1–250 (default 50). default 50 · min 1 · max 250 |
cursor | string | next_cursor from the previous page. |
updated_since | string<date-time> | Only objects changed at or after this ISO-8601 time. |
created_since | string<date-time> | Only objects created at or after this ISO-8601 time. |
parent_id | integer | Children of this category. |
Example request
curl "https://api.sellorchard.com/v1/categories?limit=50" \
-H "Authorization: Bearer $SELLORCHARD_API_KEY"Response200Categories.
ShowHide response schema
dataarray of CategoryrequiredShowHide item attributes
objectstringrequiredidintegerrequiredId.
namestringrequiredName.
slugstringrequiredURL handle.
parent_idinteger | nullrequiredParent category.
descriptionstring | nullrequiredDescription.
is_visiblebooleanrequiredShown on the storefront.
positionintegerrequiredOrder.
created_atstring<date-time> | nullrequiredCreated.
updated_atstring<date-time> | nullrequiredLast changed.
has_morebooleanrequiredMore pages after this one.
next_cursorstring | nullrequiredPass as
cursorfor the next page; null on the last page.
{
"data": [
{
"object": "category",
"id": 7,
"name": "Tops",
"slug": "tops",
"parent_id": null,
"description": null,
"is_visible": true,
"position": 0,
"created_at": "2026-11-02T15:00:00Z",
"updated_at": "2026-11-03T09:30:00Z"
}
],
"has_more": false,
"next_cursor": null
}Error responses
- 400
invalid_requestMalformed request (e.g. a bad cursor). - 401
authenticationMissing, invalid, expired or revoked API key. - 403
permissionThe key lacks the scope, or the store's plan doesn't include the API. - 422
invalid_requestInvalid parameters;errorslists each field. - 429
rate_limitedToo many requests. - 500
serverSomething went wrong on our side; safe to retry with the same Idempotency-Key.
List brands
get
/brandsRequired scopes:read_products
Query parameters
| Name | Type | Description |
|---|---|---|
limit | integer | Page size, 1–250 (default 50). default 50 · min 1 · max 250 |
cursor | string | next_cursor from the previous page. |
updated_since | string<date-time> | Only objects changed at or after this ISO-8601 time. |
created_since | string<date-time> | Only objects created at or after this ISO-8601 time. |
Example request
curl "https://api.sellorchard.com/v1/brands?limit=50" \
-H "Authorization: Bearer $SELLORCHARD_API_KEY"Response200Brands.
ShowHide response schema
dataarray of BrandrequiredShowHide item attributes
objectstringrequiredidintegerrequiredId.
namestringrequiredName.
slugstringrequiredURL handle.
descriptionstring | nullrequiredDescription.
websitestring | nullrequiredWebsite.
created_atstring<date-time> | nullrequiredCreated.
updated_atstring<date-time> | nullrequiredLast changed.
has_morebooleanrequiredMore pages after this one.
next_cursorstring | nullrequiredPass as
cursorfor the next page; null on the last page.
{
"data": [
{
"object": "brand",
"id": 4,
"name": "Orchard",
"slug": "orchard",
"description": null,
"website": "https://orchard.example",
"created_at": "2026-11-02T15:00:00Z",
"updated_at": "2026-11-03T09:30:00Z"
}
],
"has_more": false,
"next_cursor": null
}Error responses
- 400
invalid_requestMalformed request (e.g. a bad cursor). - 401
authenticationMissing, invalid, expired or revoked API key. - 403
permissionThe key lacks the scope, or the store's plan doesn't include the API. - 422
invalid_requestInvalid parameters;errorslists each field. - 429
rate_limitedToo many requests. - 500
serverSomething went wrong on our side; safe to retry with the same Idempotency-Key.