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`.
ποΈ admin
10 items
ποΈ 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.
ποΈ Bulk Companies by source 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 `sourceId` endpoint, the companies are identified by `sourceId` and `source`. If a company doesn't already exist, it will be created. If it does exist, the company found will be updated.
ποΈ Company Bulk Addresses
Use this endpoint to create multiple company addresses with a single API request. If an address with the code provided is found, it will be updated, otherwise a new address will be created. If the code is not provided, a new address will be created. When a new address is successfully created, the response will include the address `id`.
ποΈ Bulk Contacts by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of contacts with just a single API call. When using the bulk `id` endpoint, the contacts are identified by `id`. If a contact doesn't already exist, it will be created. If it does exist, the contact found will be updated.
ποΈ Bulk Contacts by source id
The bulk endpoints offer an efficient way of importing/updating large amounts of contacts with just a single API call. When using the bulk `sourceId` endpoint, the contacts are identified by `sourceId` and `source`. If a contact doesn't already exist, it will be created. If it does exist, the contact found will be updated.
ποΈ bulk-cost-prices
6 items
ποΈ Customer Bulk Addresses
Use this endpoint to create multiple customer addresses with a single API request. If an address with the code provided is found, it will be updated, otherwise a new address will be created. If the code is not provided, a new address will be created. When a new address is successfully created, the response will include the address `id`.
ποΈ Bulk Customers by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of customers with just a single API call. When using the bulk `id` endpoint, the customers are identified by `id`. If a customer doesn't already exist, it will be created. If it does exist, the customer found will be updated.
ποΈ Bulk Customers by source id
The bulk endpoints offer an efficient way of importing/updating large amounts of customers with just a single API call. When using the bulk `sourceId` endpoint, the customers are identified by `sourceId` and `source`. If a customer doesn't already exist, it will be created. If it does exist, the customer found will be updated.
ποΈ Bulk Inventory by lookup key / inventory type
The bulk inventory endpoint is used to create or update inventory records. The products can be identified based on one of their lookup keys. The inventory record type can be either `local` or `supplier`.
ποΈ Bulk Local Inventory (deprecated)
The bulk local inventory endpoint is used to create or update inventory records.
ποΈ bulk-prices
6 items
ποΈ Bulk Product by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of products with just a single API call. 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 Product by source id
The bulk endpoints offer an efficient way of importing/updating large amounts of products with just a single API call. When using the bulk `sourceId` endpoint, the products are identified by `sourceId` and `source`. If a product doesn't already exist, it will be created. If it does exist, the product found will be updated.
ποΈ Bulk Supplier Inventory (deprecated)
The bulk supplier inventory endpoint is used to create or update inventory records.
ποΈ Bulk User Addresses
Use this endpoint to create multiple user addresses with a single API request. If an address with the code provided is found, it will be updated, otherwise a new address will be created. If the code is not provided, a new address will be created. When a new address is successfully created, the response will include the address `id`.
ποΈ Bulk Usergroup Addresses
Use this endpoint to create multiple usergroup addresses with a single API request. If an address with the code provided is found, it will be updated, otherwise a new address will be created. If the code is not provided, a new address will be created. When a new address is successfully created, the response will include the address `id`.
ποΈ Bulk Usergroups by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of usergroups with just a single API call. When using the bulk `id` endpoint, the usergroups are identified by `id`. If a usergroup with such `id` doesn't already exist, it will be created. If it does exist, the usergroup found will be updated.
ποΈ Bulk Usergroups by source id
The bulk endpoints offer an efficient way of importing/updating large amounts of usergroups with just a single API call. When using the bulk `sourceId` endpoint, the usergroups are identified by `sourceId` and, `source`. If a usergroup doesn't already exist, it will be created. If it does exist, the usergroup found will be updated.
ποΈ Bulk Users by Id
The bulk endpoints offer an efficient way of importing/updating large amounts of user with just a single API call. When using the bulk `id` endpoint, the products are identified by `id`. If a user doesn't already exist, it will be created. If it does exist, the user found will be updated.
ποΈ Bulk Users by source id
The bulk endpoints offer an efficient way of importing/updating large amounts of user with just a single API call. When using the bulk `sourceId` endpoint, the users are identified by `sourceId` and `source`. If a user doesn't already exist, it will be created. If it does exist, the user found will be updated.
ποΈ bundles
9 items
ποΈ carriers
6 items
ποΈ categories
10 items
ποΈ Categories
Categories
ποΈ cluster-config
7 items
ποΈ Cluster Config
Cluster Config
ποΈ clusters
21 items
ποΈ Clusters
Clusters
ποΈ companies
15 items
ποΈ Companies
Companies
ποΈ contacts
8 items
ποΈ Contacts
Contacts