v1

latestOpenAPI 3.1.02026-07-26490301.4 KB
Product

List products (SKUs) by site

Returns a paginated list of SKUs for the specified site. The id path parameter must be numeric. Non-numeric values return 404.

get/site/{id}/sku

Path parameters

idstring required

Gateway site ID (created on the Merchant portal)

Example:983759353

Query parameters

pageinteger

Page number

limitinteger

Page size

activeboolean

Filter by active status. true = active SKUs, false = disabled

editableboolean

Filter by editability. true = no sales yet, false = has sales

type[]string[]

Filter by SKU type

descriptionstring
namestring

Exact SKU name

currency[]string[]

Filter by currency code (e.g. USD, EUR)

Headers

X-Request-IDstring

Unique ID of request

Response

OK

Example response

{
  "data": [
    {
      "name": "TEST_EN",
      "siteId": "983759353",
      "externalId": "14253ms92m0as",
      "price": 9.99,
      "currency": "USD",
      "createdAt": "2020-04-17 13:43:02",
      "updatedAt": "2020-11-17 13:43:02"
    }
  ],
  "meta": {
    "currentPage": 1,
    "lastPage": 3,
    "perPage": 20,
    "total": 42
  }
}