Skip to main content

shipmentItem

idinteger
Example: 15368865
typestringrequired
Constant value: shipmentItem
attributes object
expirationDatestring<date>
Example: 2028-06-30
lotNumberlotNumber

A lot number is a unique identification number assigned to a specific batch or lot of a product during the manufacturing process. It is used to track and trace the product's manufacturing and distribution history, including when and where it was produced, which raw materials were used, and to which customers it was shipped.

Lot numbers can be alphanumeric and may include information such as the date and time of production, the location of production, and the machine or equipment used. They are often printed on the product's packaging or label, as well as on associated documentation such as batch records and certificates of analysis.

Possible values: Value must match regular expression ^[\x21-\x7E][\x20-\x7E]*[\x21-\x7E]$

Examples:
Example: VDB2606A
quantityinteger

Possible values: >= 0

Example: 2
serialNumbersstring[]

Possible values: non-empty

skuproductSku

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]$

Examples:
Example: VDB-400
relationships object
orderItem object

Represents a relationship to an orderItem resource.

data object

Represents a self-link of an orderItem resource.

idinteger

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.

Example: 53150128
typestringrequired
Constant value: orderItem
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/orderItems/53150128
product object

Represents a relationship to a product resource.

data object

Represents a self-link of a product resource.

idinteger

The id is an internally assigned id of a product.

Example: 540935
typestringrequired
Constant value: product
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/products/540935
shipment object

Represents a relationship to a shipment resource.

data object

Represents a self-link of a shipment resource.

idinteger
Example: 68076953
typestringrequired
Constant value: shipment
links object
selfstring<uri>
Example: https://shopapi.activeants.nl/v3/shipments/68076953
linksnull

Always null, the API doesn't return a self link for a shipmentItem in included.

shipmentItem
{
"id": 15368865,
"type": "shipmentItem",
"attributes": {
"sku": "VDB-400",
"quantity": 2,
"lotNumber": "VDB2606A",
"expirationDate": "2028-06-30",
"serialNumbers": [
"EZL-2026-000421"
]
},
"links": "null",
"relationships": {
"orderItem": {
"data": {
"id": 53150128,
"type": "orderItem",
"links": {
"self": "https://shopapi.activeants.nl/v3/orderItems/53150128"
}
}
},
"product": {
"data": {
"id": 540935,
"type": "product",
"links": {
"self": "https://shopapi.activeants.nl/v3/products/540935"
}
}
},
"shipment": {
"data": {
"id": 68076953,
"type": "shipment",
"links": {
"self": "https://shopapi.activeants.nl/v3/shipments/68076953"
}
}
}
}
}