products
The id is an internally assigned id of a product. It is possible to assign an arbitrary value in a POST request to cross-reference within the message itself. However the system will not honour any value assigned by external systems.
1267733productproductattributes object
SKU (stock keeping unit) of a product used to identify products.
Possible values: >= 2 characters and <= 80 characters, Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$
- Example 1
- Example 2
- Example 3
- Example 4
- Example 5
TSH-000-S8720874770299HK-HNTSSTNG 6XBK-14-LARGE: 31x41x14TRRE-PSU6*003;2023-10:specialThe productStatus indicates the availability of the product. The possible values are AVAILABLE, DISCONTINUED and END_OF_LIFE. See the table below for more details.
| status | description |
|---|---|
AVAILABLE | The product is available and active. It is actively being sold and new stock can be received |
DISCONTINUED | The product is still available, but new stock will no longer be expected. |
END_OF_LIFE | The product is no longer active and will no longer show in the reports. |
Possible values: [AVAILABLE, DISCONTINUED, END_OF_LIFE]
- Example 1
- Example 2
AVAILABLEAVAILABLESpecifies which type of stockLevel is to be used for stock synchronization for this particular product.
Possible values: [AVAILABLE, ECONOMIC]
The productType indicates the type of the product .
| status | description |
|---|---|
DEFAULT | The product a regular product which can be sold and shipped. |
DEFAULT_IN_PACKAGING | Same as DEFAULT, but when ordered individually the product will be shipped without packaging. |
COMPOSITE | Used for products that are composed out of other products of type PART. Composite products are stocked, picked and shipped as a single SKU and cannot be split into their consituent parts. This is important as consumers will notbe able to return these parts individually. Also note that composite products can also run out of stock eventhough the parts may still be in stock. This is because new stock of composite products is created through special work orders. |
BUNDLE | The product is a bundled product which means that the product itself is not kept on stock, but when ordered, its parts are picked and shipped instead. When ordering a bundled product the system will automatically add the parts to the order as separate orderItems. Bundled products can be partially returned as each item is a separate product, they can also be split across shipments if packaging constraints prevent them from being shipped together. |
PART | The product is a part of one or more COMPOSITE products. |
GREETING_CARD | A special type of product used to add a personalized greeing card to the order. This requires the greeting to be added to the metadata field on the orderItem with the name extra6. |
SERVICE | A special type of product used in very specific situations. |
Possible values: [DEFAULT, COMPOSITE, PART, DEFAULT_IN_PACKAGING, BUNDLE, GREETING_CARD, SERVICE]
DEFAULTBUNDLEThis field indicates the weight of the product, measured in grams. It is important to note that the weight is determined when the product is first processed in an inbound shipment and can only be set or modified on request.
154The length of the product in millimeters, notice that this value can not be specified. It will be measured once the product is received for the first time.
33The width of the product in millimeters, notice that this value can not be specified. It will be measured once the product is received for the first time.
65The height of the product in millimeters, notice that this value can not be specified. It will be measured once the product is received for the first time.
125Short name for the product used on packing slips if required. Note that this name is used mostly internally and when the orderItem.name is not provided.
Possible values: non-empty and <= 250 characters
Dog Shampoo 100mlA more complete description of the product.
Possible values: <= 10000 characters
Experience the ultimate pampering for your furry friend with our premium 100ml Dog Shampoo. Specially designed with your canine companion in mind, this gentle and nourishing formula will leave their coat looking and feeling fabulous. Every drop of our shampoo is packed with the finest natural ingredients, carefully selected to provide optimal cleansing without causing any irritation or dryness.Specifies if the product has a barCode or not. When set to true a barcode will be scanned during the first inbound or when already known the barcode can be specified in the barcode field.
falseThe barcode of the product, when set will ensure that the hasBarcode is true as well.
Possible values: >= 2 characters and <= 80 characters, Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$
- Example 1
- Example 2
- Example 3
- Example 4
- Example 5
TSH-000-S8720874770299HK-HNTSSTNG 6XBK-14-LARGE: 31x41x14TRRE-PSU6*003;2023-10:specialSpecifies if the product has a lotNumber or not. Defaults to false.
falseSpecifies if the product has a serialNumber or not. Defaults to false.
falseSpecifies if the product has an expirationDate or not. Defaults to false.
falseThe expirationDateMargin is the number of days used to determine whether particular stock can still be sold or if it has expired. Stock of a product is expired when the difference of the current date with and expirationDate of the stock is more than the expirationDateMargin speficied on the product. This field is optional when expirationDate is NONE.
The expirationDateWarning is the number of days used to determine is a product nearing its expiration date. This field is optional when expirationDate is NONE.
A valid ISO:3166-1 alpha-2 country code denoting the country of origin for the product. This value is required for international shipments.
Possible values: Value must match regular expression ^[A-Z]{2,2}(-[A-Z0-9]{2,3})?$
- Example 1
- Example 2
- Example 3
- Example 4
- Example 5
- Example 6
- Example 7
- Example 8
- Example 9
- Example 10
- Example 11
NLATBEFRDEGBITUSSKSEEShsCodes object[]
An array of hsCodes (or more specific equivalents thereof) for this product. To set a default/fallback hsCode for the product use country code XX. It is not mandatory to specify hsCodes, but when provigind the element the array should contain at least one entry.
A valid ISO:3166-1 alpha-2 country code denoting the country or region the hsCode is applicable for. Use XX to denote the default/fallback hsCode for the product.
Possible values: Value must match regular expression ^[A-Z]{2,2}(-[A-Z0-9]{2,3})?$
- Example 1
- Example 2
- Example 3
- Example 4
- Example 5
- Example 6
- Example 7
- Example 8
- Example 9
- Example 10
- Example 11
NLATBEFRDEGBITUSSKSEESThe hsCode stands for Harmonized System code, which is a standardized numerical method of classifying traded products. It is used by customs authorities around the world to identify and track goods as they cross borders. The Harmonized System is maintained by the World Customs Organization (WCO) and is recognized as the global standard for product classification. It consists of a six-digit code that can be further detailed with additional digits. Standard hsCodes are six digits long, but more specific variants such as TARIC can use more.
Possible values: >= 6 characters and <= 12 characters, Value must match regular expression \d{6,12}
- Example 1
- Example 2
6203421806101500purchasePrice object[]
Specifies the purchase price of the product. At the moment only a single price in EUR is supported. Any currency code provided will be ignored.
Possible values: <= 1
The currency symbol for this amount must always be set to EUR.
Possible values: Value must match regular expression EUR
EUR9,55metadata object
Possible values: <= 250 characters
Possible values: <= 250 characters
Possible values: <= 250 characters
Possible values: <= 250 characters
Possible values: <= 250 characters
relationships object
stockLevels object
Convenience relationship to the stockLevel of the product.
data object
Represents a self-link of a stock resource.
stockLevelstockLevellinks object
https://shopapi.activeants.nl/v3/stockLevels/parts object
Provided when the product is of type BUNDLE or COMPOSITE. The array contains references to the constituent products and the quantity they appear in in this bundle.
data object[]
The id is an internally assigned id of a product. It is possible to assign an arbitrary value in a POST request to cross-reference within the message itself. However the system will not honour any value assigned by external systems.
1267733productproductPossible values: > 0
links object
https://shopapi.activeants.nl/v3/products/1267733links object
https://shopapi.activeants.nl/v3/products/1267733{
"id": 1267733,
"attributes": {
"sku": "TSH-000-S",
"status": "AVAILABLE",
"stockLevelType": "AVAILABLE",
"type": "BUNDLE",
"weight": 154,
"length": 33,
"width": 65,
"height": 125,
"name": "Dog Shampoo 100ml",
"description": "Experience the ultimate pampering for your furry friend with our premium 100ml Dog Shampoo. Specially designed with your canine companion in mind, this gentle and nourishing formula will leave their coat looking and feeling fabulous. Every drop of our shampoo is packed with the finest natural ingredients, carefully selected to provide optimal cleansing without causing any irritation or dryness.",
"hasBarcode": false,
"barcode": "TSH-000-S",
"hasLotNumber": false,
"hasSerialNumber": false,
"hasExpirationDate": false,
"expirationDateMargin": 0,
"expirationDateWarning": 0,
"countryOfOrigin": "NL",
"hsCodes": [
{
"country": "NL",
"hsCode": 620342
}
],
"purchasePrice": [
{
"currency": "EUR",
"amount": "9,55"
}
],
"metadata": {
"extra1": "string",
"extra2": "string",
"extra3": "string",
"extra4": "string",
"extra5": "string"
}
},
"relationships": {
"stockLevels": {
"data": {
"id": 0,
"links": {
"self": "https://shopapi.activeants.nl/v3/stockLevels/"
}
}
},
"parts": {
"data": [
{
"id": 1267733,
"quantity": 0,
"links": {
"self": "https://shopapi.activeants.nl/v3/products/1267733"
}
}
]
}
},
"links": {
"self": "https://shopapi.activeants.nl/v3/products/1267733"
}
}