Products
Products are the sellable goods in an e-commerce shop on the Propeller platform. They are usually organized hierarchically in categories. The Product API can be used to consult, create, update or delete a Product.
Product Lookup keysβ
Key | Type | Description |
---|---|---|
id | integer | Propeller product id, auto-generated |
sourceId | string | External system unique id. sourceId should be combined with source |
sku | string | Product SKU/ code |
code (deprecated) | string | Product code |
supplierCode | string | Product code as known to the product supplier. supplierCode should be combined with supplier |
Fieldsβ
Name | Description | Type |
---|---|---|
names | Product name | array[LocalizedString] |
language | Product default language | string ISO 639-1 |
parent | Parent category | JSON object that identifies the parent. id or sourceId in combination with source |
sku | Product SKU (code) | string |
unit | The number of packages that need to be ordered when adding an item to the basket | integer |
status | Product status | enum A=Available N=Not available T=Out of stock P=Phase out S=Presale R=Restricted |
descriptions | Product description | array[LocalizedString] |
shortName | Product short name | string |
shortDescriptions | Product short descriptions | array[LocalizedString] |
taxCode | Product tax code | enum H=High L=Low N=None |
supplier | Product supplier | string |
supplierCode | Product code as known to the product supplier | string |
manufacturer | Manufacturer | string |
oemCode | Product manufacturer code | string |
eanCode | Product EAN code | string |
minimumQuantity | Minimum orderable quantity | integer |
package | Package (e.g. piece, sheet, etc.) | string |
packageDescriptions | Description of package and package units inside a package (e.g. Box of 650 sheets of paper) | array[LocalizedString] |
notes | Product notes/ remarks | array[LocalizedString] |
sourceId | External system unique id | string |
source | External system | string |
keywords | Keywords of this product per language. Added by the supplier | array[LocalizedString] |
customKeywords | Additional keywords of this product per language. Added via the PIM | array[LocalizedString] |
statusExtra | The extra status of this product, commonly linked to a custom valueset | string |
orderable | Indicates whether the product is orderable | enum Y = Yes N = No |
orderableFrom | The orderable from date of this product | date |
orderableTo | The orderable from to of this product | date |
releaseDate | The release date of this product | date |
returnable | Indicates whether the product is returnable | enum Y = Yes N = No |
physical | Is it a physical product or a service, download or warranty | enum Y = Yes N = No |
barCode | The bar code of this product | string |
width | Product width | string |
height | Product height | string |
depth | Product depth | string |
weight | Product weight | string |
packageUnit | The amount of items per package | string |
packageUnitQuantity | The quantifier for the package unit, i.e.: PIECE or BOX | string |
purchaseMinimumQuantity | The minimum quantity of products that can be ordered when creating a purchase order | integer |
purchaseUnit | The unit in which the product can be ordered when creating a purchase order | integer |
economicOrderQuantity | The quantity that provides the best value for money for this product | integer |
metadataTitles | Metadata title | array[LocalizedString] |
metadataDescriptions | Metadata description | array[LocalizedString] |
metadataKeywords | Metadata keywords | array[LocalizedString] |
metadataCanonicalUrls | Metadata canonical URL | array[LocalizedString] |
priority | Sort products based on the priority in search results | integer |
hidden | Controls product visibility | enum Y = Yes N = No |
Product Errorsβ
This section describes error codes specific for the Product
resource.
Code | Error Type | Status Code | Message | Reason |
---|---|---|---|---|
80004 | ProductExists | 400 | Product already exists | Category with such lookup key already exists |
80005 | ProductMultipleFound | 400 | Multuple products found. Please provide additional filters | Multiple products with such lookup key exist |
80006 | ProductNotFound | 404 | Product does not exist | Product with such lookup key not found |
80007 | ParentProductNotFound | 404 | Parent product not found | Parent product with such lookup key not found. This error is typical when working with product sub-resources (e.g. attributes) |
80008 | ProductNotAllowed | 405 | Product is not allowed | No permission for the product |
ποΈ Introduction
The Propeller REST API is based on resource-oriented URL's, returns JSON-encoded responses and uses standard HTTP response codes, authentication and HTTP methods. The main goal of the REST API is efficiently importing/exporting large amounts of data in/out of the Propeller platform.
ποΈ Add Setting to Cluster Config
Use this endpoint to add additional settings to a cluster config. If a cluster config setting is successfully created, the response will include the `id`.
ποΈ attribute-descriptions
7 items
ποΈ attributes
5 items
ποΈ authentication
2 items
ποΈ Authentication
Authentication
ποΈ Bulk Categories by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of categories with just a single API call. When using the bulk `id` endpoint, the categories are identified by Propeller category `id`. If a category with such `id` doesn't already exist, it will be created. If it does exist, the category will be updated.
ποΈ Bulk Categories by sourceId
The bulk endpoints offer an efficient way of importing/updating large amounts of categories with just a single API call. When using the bulk `sourceId` endpoint, the categories are identified by `sourceId`, `source`. If a category doesn't already exist, it will be created. If it does exist, the category will be updated.
ποΈ Bulk Cluster Options by lookupKey
The bulk endpoints offer an efficient way of importing/updating large amounts of cluster options with just a single API call. The same lookup key is used for the options as for the cluster. When using the bulk `id` endpoint, the options are identified by Propeller option `id`. If an option with such `id` doesn't already exist, it will be created. If it does exist, the option will be updated.
ποΈ Bulk Cluster Products by sourceId
The bulk endpoints offer an efficient way of importing/updating large amounts of cluster products with just a single API call. The same lookup key is used for the products as for the cluster. When using the bulk `id` endpoint, the products are identified by Propeller product `id`. If a product with such `id` doesn't already exist, it will be created. If it does exist, the product will be updated.
ποΈ Bulk Clusters by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of clusters with just a single API call. When using the bulk `id` endpoint, the clusters are identified by Propeller cluster `id`. If a cluster with such `id` doesn't already exist, it will be created. If it does exist, the cluster will be updated.
ποΈ Bulk Clusters by sourceId
The bulk endpoints offer an efficient way of importing/updating large amounts of clusters with just a single API call. When using the bulk `sourceId` endpoint, the clusters are identified by `sourceId` and `source`. If a cluster doesn't already exist, it will be created. If it does exist, the cluster will be updated.
ποΈ Bulk Companies by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of companies with just a single API call. When using the bulk `id` endpoint, the companies are identified by `id`. If a company with such `id` doesn't already exist, it will be created. If it does exist, the company found will be updated.