**Version: 202701**

# Procurement

Create and manage procurement orders submitted to suppliers

Procurement records track inbound stock that a merchant orders from suppliers, including the items to be received, quantities, and the receipt lifecycle from creation to cancellation or full receipt.

Provides endpoints to create, list, get, update, and cancel procurement records, mark them as received, and batch create, list, update, or delete the items within a procurement.

- [List procurements](/api/202701/procurements) `GET /openapi/2027-01/procurements`: Retrieves a list of Procurement objects, representing the associations between products and Procurementions.

- [Create procurement](/api/202701/procurement-create) `POST /openapi/2027-01/procurements`: Allows users to create a procurement record associated with a specific supplier.

- [Get procurement](/api/202701/procurement-detail) `GET /openapi/2027-01/procurements/:procurement_id`: Retrieves a list of procurement records with optional filters such as state, creation date, or update date.

- [Update procurement](/api/202701/procurement-update) `PUT /openapi/2027-01/procurements/:procurement_id`: Allows updating the details of an existing procurement record, such as its supplier, note, or other properties.

- [List procurement items](/api/202701/procurement-items) `GET /openapi/2027-01/procurements/:procurement_id/items`: Retrieves the items associated with a given procurement ID.

- [Batch update procurement items](/api/202701/procurement-item-batch-update) `PUT /openapi/2027-01/procurements/:procurement_id/items`: allows bulk updating of procurement item quantities in a specified procurement.

- [Batch create procurement items](/api/202701/procurement-item-batch-create) `POST /openapi/2027-01/procurements/:procurement_id/items`: Allows the bulk addition of procurement items to a procurement record.

- [Batch delete procurement items](/api/202701/procurement-item-batch-delete) `DELETE /openapi/2027-01/procurements/:procurement_id/items`: Removes multiple items from a specific procurement order.

- [Cancel procurement](/api/202701/procurement-cancel) `PATCH /openapi/2027-01/procurements/:procurement_id/cancel`: Allows canceling an existing procurement record by its unique identifier (id).

- [Receive procurement](/api/202701/procurement-receive) `PATCH /openapi/2027-01/procurements/:procurement_id/receive`: Processes the receipt of procurement items by updating their quantities (received and rejected) and recording any rejection reasons.
