Get the lines of a shipment by its reference
curl --request GET \
--url https://api.bold-factory.com/v1/warehouse/shipments/{shipmentReference}/lines \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"externalReference": "<string>",
"relatedId": "<string>",
"shipment": {
"id": "<string>",
"externalReference": "<string>",
"destination": "<string>",
"destinationId": "<string>",
"date": "2023-12-25",
"code": "<string>",
"locationId": "<string>",
"location": {
"id": "<string>",
"externalReference": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"shipped": true,
"shippedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"shipmentId": "<string>",
"type": "SalesOrderLine",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"managesLots": true,
"stock": 123,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"quantity": 123
}
],
"totalCount": 123
}Shipments
Get the lines of a shipment by its reference
Requires Warehouse.Shipments.Write permissions
GET
/
v1
/
warehouse
/
shipments
/
{shipmentReference}
/
lines
Get the lines of a shipment by its reference
curl --request GET \
--url https://api.bold-factory.com/v1/warehouse/shipments/{shipmentReference}/lines \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": "<string>",
"externalReference": "<string>",
"relatedId": "<string>",
"shipment": {
"id": "<string>",
"externalReference": "<string>",
"destination": "<string>",
"destinationId": "<string>",
"date": "2023-12-25",
"code": "<string>",
"locationId": "<string>",
"location": {
"id": "<string>",
"externalReference": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"shipped": true,
"shippedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"shipmentId": "<string>",
"type": "SalesOrderLine",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"managesLots": true,
"stock": 123,
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
},
"displayDecimalPlaces": 123
},
"quantity": 123
}
],
"totalCount": 123
}⌘I