Shipment Response details of the cart which how many shipments will be shipped for the items in cart and gives infoormation about box type, order type, promise of each shipment and delivery partner details.
Fields
box_type
StringBox type of the shipment. Example: 'standard'
dp_id
StringDelivery partner id of the shipment. Example: 'DP_123'
dp_options
JSONDelivery partner options available. Example: { preferred: 'Express' }
fulfillment_id
IntFulfilment id of the shipment. Example: 5678
fulfillment_type
StringFulfilment type of shipment. Example: 'HomeDelivery'
items
[CartProductInfo]Item details in the shipment. Example: [{ quantity: 1, identifiers: { identifier: 'line_abc' } }]
order_type
OrderTypeEnumOrder type of the shipment (e.g., 'PickAtStore', 'HomeDelivery','Digital). Example: 'HomeDelivery'
promise
DeliveryPromiseResponseShipment level promise (formatted, timestamp, ISO).
shipment_type
StringShipment type (single_shipment or multiple_shipment). Example: 'single_shipment'
shipments
IntCount of shipments that will be shipped. Example: 2
fulfillment_option
FulfillmentOptionShipment Fulfillment Option Details. Example: { selected_option: 'store-pickup' }
Was this section helpful?