The Product API is only accessible by API users on a retailer account.
The Product object
A Product is associated with:
- One or more Product Inventories
- One or more Store Products
Each Product has the following attributes:
Field | Description |
---|---|
id |
The unique numeric identifier for the product. This is assigned by Duoplane and cannot be changed. This id is used primarily for interaction with the API. |
name | The product name or title. |
created_at | The date and time in UTC when the product was created. |
updated_at | The date and time in UTC when the product was last updated. |
retailer_sku | The SKU number of the product as it is known by the retailer. |
product_inventories |
The supplier or warehouse inventory locations associated with this product.
|
store_products |
The products in the ecommerce channels' catalogs that are are associated with this product.
|
Retrieve a list of products
GET https://app.duoplane.com/products.json
All request parameters must be nested in a hash / associative array with the key "search". E.g.:
?search[retailer_sku]=ABC123
Search Parameter | Description |
---|---|
retailer_sku | The Retailer SKU of the products |
vendor_sku | The Vendor SKU of the products |
product_type | The type of product. Options are "simple" and "bundle". |
created_at_min | Retrieve only products created after this time.* |
created_at_max | Retrieve only products created before this time.* |
updated_at_min | Retrieve only products updated after this time.* |
updated_at_max | Retrieve only products updated before this time.* |
* Times should be in ISO 8601 format with time zone or zone offset. If not explicitly provided, the time zone is assumed to be that of the requesting API user.
Pagination
In addition to the search filters, you can specify paging parameters:
Paging Parameter | Description |
---|---|
per_page | The maximum number of records to return with each call. The default and maximum is 250. |
page | If the count of records matching the search exceeds the number that are returned in a single response, the page number for subsequent requests. |
Note: Updating product attributes via API is not yet supported—please update via CSV or web interface.
Comments
0 comments
Article is closed for comments.