orderItem
An orderItem refers to a specific product has been purchased and must be shipped to the consumer.
It is a line item that details the quantity, description, price, and other relevant information about the product.
The id is the internally assigned id of an orderItem. Only during and POST v3/orders is it possible to use arbitrary integer values to cross-reference within the message itself. However the system will not honour any value assigned by external systems.
53150128orderItemattributes object
The total number of units of this orderItem that were cancelled, for example with DELETE v3/orderItems/{id}, by the fulfilment strategy or by the warehouse. 0 when nothing was cancelled. quantity plus cancelled always equals the number originally ordered.
Possible values: >= 0
1The channelIdentifier is the (technical) id for the orderItem as assigned by the external channel. For example Shopify, Amazon, Bol, Zalando, etc. may assign a unique id for communication and synchronization purposes.
Possible values: <= 250 characters
16560701-0715-4606-a420-0000000001a1When specified indicates that the item can only be fulfilled from the indicated warehouse.
Possible values: [BW, DD, FL, FP, GN, NR]
NRmetadata object
Allows the specification of arbitrary name-value pairs. note currently only the names 'extra6' and 'extra7' are supported.
The name / description for this product on this orderItem. If no value is provided here, then the name of the product will be used instead whenever a name is required (for example when declaring to customs)
Van Dyke Brown - 400ml tubeSpecifies the price of a single unit of the product as sold to the consumer / recipient. Note that all products sold to consumers and shipped internationally must have a price greater than 0.00, as many customs agencies do not accept negative values. Furthermore, some carriers may impose a minimum price—typically around 1.000 in the order’s currency.
13.95The number of units of the product that have been or are still to be delivered for this orderItem: the number originally ordered minus the number cancelled.
In a request, quantity is the number of units ordered. In a response, it goes down as units are cancelled and is 0 when the orderItem is cancelled completely. quantity plus cancelled always equals the number originally ordered.
3SKU (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]$
VDB-400This field represents the VAT percentage that was included in the price. If omitted, the value 0.000 is assumed as the percentage. The value must be between [0.000 and 1.000⟩, with an accuracy of up to three decimal places after the comma.
Possible values: >= 0 and < 1
0- Example 1
- Example 2
- Example 3
0.210.090.2relationships object
order object
Represents a relationship to an order resource.
data object
Represents a self-link of an order resource.
The id is an internally assigned id of an order. Only during and POST v3/orders is it possible to use arbitrary integer value which might be used to cross-reference within the message itself. However the system will not honour any value assigned by external systems.
24006341orderlinks object
https://shopapi.activeants.nl/v3/orders/24006341product object
Represents a relationship to a product resource.
data object
Represents a self-link of a product resource.
The id is an internally assigned id of a product.
540935productlinks object
https://shopapi.activeants.nl/v3/products/540935links object
https://shopapi.activeants.nl/v3/orderItems/53150128{
"id": 53150128,
"type": "orderItem",
"attributes": {
"sku": "VDB-400",
"channelIdentifier": "16560701-0715-4606-a420-0000000001a1",
"quantity": 3,
"fulfillFrom": "NR",
"price": 13.95,
"vat": 0.21,
"name": "Van Dyke Brown - 400ml tube",
"metadata": {
"giftMessage": "Happy Birthday Rembrandt!",
"customerId": "#31334-42"
},
"cancelled": 1
},
"relationships": {
"order": {
"data": {
"id": 24006341,
"type": "order",
"links": {
"self": "https://shopapi.activeants.nl/v3/orders/24006341"
}
}
},
"product": {
"data": {
"id": 540935,
"type": "product",
"links": {
"self": "https://shopapi.activeants.nl/v3/products/540935"
}
}
}
},
"links": {
"self": "https://shopapi.activeants.nl/v3/orderItems/53150128"
}
}