Skip to content

SKUs

Operations related to Stock Keeping Units (SKUs)

List SKUs

Request

Returns the SKUs of the sales channel in every status, including deleted ones, newest first.

Security
BearerAuth
Query
merchant_sku_ids[]Array of strings

Only return the SKUs with these merchant SKU IDs (merchant_sku_id). Repeat the parameter for each value.

pageinteger, >= 1

The page to return, starting at 1. A page past the last one returns no records.

Default:1
limitinteger, >= 1

The number of records per page. A value above 100 is treated as 100.

Default:20
created_at[gt]string

Only return records created after this time (ISO 8601).

created_at[gte]string

Only return records created at or after this time (ISO 8601).

created_at[lt]string

Only return records created before this time (ISO 8601).

created_at[lte]string

Only return records created at or before this time (ISO 8601).

curl -i -X GET \
  'https://developers.hive.app/_mock/merchant-api-v1/mapi_v1_oas31/skus?merchant_sku_ids%5B%5D=string&page=1&limit=20&created_at%5Bgt%5D=string&created_at%5Bgte%5D=string&created_at%5Blt%5D=string&created_at%5Blte%5D=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

A page of SKUs

Bodyapplication/json
dataArray of objects(Sku)required

The SKUs on this page.

paginationobject(Pagination)required

Where this page sits in the whole result.

Response
{ "data": [ { … } ], "pagination": { "current_page": 1, "item_count": 2, "page_count": 1, "items_per_page": 20 } }