Skip to main content

Shipment Notice

Shipment Notices (also known as Advance Ship Notices or ASNs, or "despatch advice") communicate the details of an outbound shipment from a supplier to a recipient, including what is being shipped, from where, to where, and when it is expected to arrive. Relevant if you are using legacy EDI ASN communication and want to reference this in EPCIS messages or in analytics and rules.

The shipment_notice Object

Field NameTypeDescription
iduuidPrimary key for the shipment notice.
user_createdobjectUser who created the record. Read-only.
date_createddatetimeTimestamp in ISO 8601 when the record was created. Read-only.
user_updatedobjectUser who last updated the record. Read-only.
date_updateddatetimeTimestamp in ISO 8601 when the record was last updated. Read-only.
statusstringCurrent status of the shipment notice. One of: draft, shipped, delivered, superseded, cancelled.
ship_notice_numberstringHuman-readable shipment notice number or reference.
urnstringUniform Resource Name uniquely identifying this shipment notice, for use in EPCIS messages (typically auto created by system).
ship_notice_issuerobjectOrganisation that issued this shipment notice.
ship_from_organisationobjectOrganisation from which the goods are being shipped.
ship_from_locationobjectLocation from which the goods are being shipped.
ship_to_organisationobjectOrganisation receiving the shipment.
ship_to_locationobjectLocation to which the goods are being delivered.
ship_datedatetimeDate and time the shipment departed.
estimated_arrival_datedatetimeEstimated date and time of arrival at the destination.
carrier_namestringName of the carrier or logistics provider.
tracking_numberstringCarrier tracking number for the shipment.
line_itemsarray of objectsLine items detailing the products and quantities included in the shipment.

Sub-Objects

User Object (user_created, user_updated)

See Users for the full schema.

Organisation Object (ship_notice_issuer, ship_from_organisation, ship_to_organisation)

See Organisation for the full schema.

Location Object (ship_from_location, ship_to_location)

See Location for the full schema.

Shipment Notice Line Item (line_items)

FieldTypeDescription
iduuidPrimary key of the line item.
user_createdobjectUser who created the line item. Read-only.
date_createddatetimeWhen the line item was created. Read-only.
user_updatedobjectUser who last updated the line item. Read-only.
date_updateddatetimeWhen the line item was last updated. Read-only.
ship_notice_iduuidReference to the parent shipment notice.
po_line_item_idobjectReference to the corresponding Purchase Order line item, if applicable.
productobjectProduct being shipped. Links to Product.
quantity_shippednumberQuantity of the product included in this shipment.
package_idstringIdentifier for the package or container this line item is in.
lot_numberstringLot or batch number of the shipped product.
expiry_datestringExpiry date of the product (ISO 8601 date, e.g. 2025-12-31).

List Shipment Notices

GET /items/shipment_notice

Query Parameters

Supports all global query parameters.

Returns

An array of up to limit shipment notice objects. If no items are available, data will be an empty array.


Retrieve a Shipment Notice

GET /items/shipment_notice/:id

Returns

Returns a shipment notice object if a valid primary key was provided.


Create a Shipment Notice

POST /items/shipment_notice

{
"ship_notice_number": "ASN-2024-001",
"status": "shipped",
"ship_notice_issuer": "org-uuid",
"ship_from_organisation": "supplier-org-uuid",
"ship_from_location": "warehouse-location-uuid",
"ship_to_organisation": "buyer-org-uuid",
"ship_to_location": "destination-location-uuid",
"ship_date": "2024-03-15T08:00:00Z",
"estimated_arrival_date": "2024-03-18T17:00:00Z",
"carrier_name": "FedEx",
"tracking_number": "123456789012"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial shipment notice object.

Returns

Returns the shipment notice object for the created record.


Update a Shipment Notice

PATCH /items/shipment_notice/:id

{
"status": "delivered",
"tracking_number": "123456789012"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial shipment notice object.

Returns

Returns the shipment notice object for the updated record.


Delete a Shipment Notice

DELETE /items/shipment_notice/:id

Returns

Empty body.