latestOpenAPI 3.0.12026-08-101292701.1 MB

f21981db32be

SKUs

Returns a list of SKUs

Gets the SKUs specified in the request.

get/skus

Query parameters

createdTimeobject

A filter on the list based on the createdTime field. The value can be a string with an ISO-8601 UTC format datetime or it can be a dictionary with the following options:

  • eq—return values where the createdTime field equals to this timestamp
  • gt—return values where the createdTime field is after this timestamp
  • gte—return values where the createdTime field is after or equal to this timestamp
  • lt—return values where the createdTime field is before this timestamp
  • lte—return values where the createdTime field is before or equal to this timestamp
updatedTimeobject

A filter on the list based on the updatedTime field. The value can be a string with an ISO-8601 UTC format datetime or it can be a dictionary with the following options:

  • eq—return values where the updatedTime field equals this timestamp
  • gt—return values where the updatedTime field is after this timestamp
  • gte—return values where the updatedTime field is after or equal to this timestamp
  • lt—return values where the updatedTime field is before this timestamp
  • lte—return values where the updatedTime field is before or equal to this timestamp
endingBeforestring

A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.

startingAfterstring

A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.

limitinteger

A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.

idsstring[]

Only return objects with these IDs.

eccnstring

The Export Control Classification Number (ECCN) associated with the SKUs you want to retrieve.

partNumberstring

The partNumber associated with the SKUs you want to retrieve.

hsCodestring

The hsCode associated with the SKUs you want to retrieve.

taxCodestring

The taxCode associated with the SKUs you want to retrieve.

skuGroupIdstring

An unique identifier for the sku-group, can be client provided or DR system generated.

Response

200 OK

hasMoreboolean

Indicates whether or not there are more elements available after this set. If false this set represents the end of the list.

Example response

{
  "hasMore": true,
  "data": [
    {
      "createdTime": "2018-04-25T20:36:00Z",
      "id": "sku_5823594809",
      "eccn": "EAR99",
      "hsCode": "6404.20",
      "skuGroupId": "5823594809",
      "partNumber": "SWG1224J10L",
      "manufacturerId": "654123",
      "physical": true,
      "taxCode": "4323.310_A",
      "name": "Athena Womens Running Shoes",
      "description": "Athena Womens Running Shoes",
      "image": "https://imageurl.com",
      "url": "https://producturl.com",
      "countryOfOrigin": "US",
      "weight": 20.5,
      "weightUnit": "oz",
      "itemBreadcrumb": "Sports & Outdoors > Exercise & Fitness > Wearable Technology > Fitness Trackers",
      "partnerAccountId": "00g6atnynbl2wFsFG357",
      "metadata": {
        "coupon": "iOS"
      },
      "updatedTime": "2018-04-25T20:36:00Z"
    }
  ]
}