Products

Get Many Products

List products with pagination and filtering

GET
/merchantos/products
x-access-token<token>

In: header

Query Parameters

page?number

Page number (starts at 1)

Formatdouble
Default0
limit?number

Number of items per page

Formatdouble
Default20
search?string

Search term to filter products by name or SKU

Default""
order_by?string

Field to order by

Default"created_at"

Value in

  • "created_at"
  • "updated_at"
order?string

Sort order

Value in

  • "asc"
  • "desc"

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/merchantos/products"
{  "data": [    {      "length": 0.1,      "type": "STANDARD",      "width": 0.1,      "height": 0.1,      "weight": 0,      "id": "string",      "first_article_inspection_completed_at": "2019-08-24T14:15:22Z",      "image_url": "string",      "name": "string",      "sku": "string",      "cost_price": 0,      "cost_currency": "string",      "description": "string",      "measurement_unit": "MM",      "weight_unit": "G",      "customs_description": "string",      "customs_value": 0,      "customs_value_currency": "string",      "config": {        "replenishment_source_strategy": "FIFO",        "replenishment_increment_level": 0,        "replenishment_maximum_level": 0,        "replenishment_minimum_level": 0      },      "country_of_origin": "string",      "hs_code": "string",      "team_id": "string"    }  ],  "meta": {    "page": 0.1,    "page_size": 0.1,    "has_next_page": true,    "has_previous_page": true,    "start_index": 0.1,    "end_index": 0.1  }}