# Performs persist operations for a specified shipment **POST /V1/shipment/** Performs persist operations for a specified shipment. ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ### Body: (object) - **entity** (object) Shipment interface. A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. ## Responses ### 200 200 Success. #### Body: (object) - **billing_address_id** (integer) Billing address ID. - **created_at** (string) Created-at timestamp. - **customer_id** (integer) Customer ID. - **email_sent** (integer) Email-sent flag value. - **entity_id** (integer) Shipment ID. - **increment_id** (string) Increment ID. - **order_id** (integer) Order ID. - **packages** (array[object]) Shipment package interface. A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. - **shipment_status** (integer) Shipment status. - **shipping_address_id** (integer) Shipping address ID. - **shipping_label** (string) Shipping label. - **store_id** (integer) Store ID. - **total_qty** (number) Total quantity. - **total_weight** (number) Total weight. - **updated_at** (string) Updated-at timestamp. - **items** (array[object]) Shipment item interface. A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. A product is an item in a shipment. - **tracks** (array[object]) Shipment track interface. A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. Merchants and customers can track shipments. - **comments** (array[object]) Shipment comment interface. A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. A shipment document can contain comments. - **extension_attributes** (object) ExtensionInterface class for @see \Magento\Sales\Api\Data\ShipmentInterface ### 401 401 Unauthorized #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### default Unexpected error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)