Skip to main content
Purchase Orders

Cancel a Purchase Order

Cancel a purchase order.

PUT
/v1/purchase_orders/{id}/cancel

Scope(s): APP::PURCHASE-ORDERS::MANAGE

idstringrequired

Path parameter: id

Pattern: [1-9][0-9]{0,}

Body

application/json
reasonstringrequired

Reason for cancellation.

Response

200application/json

successful operation

approved_dateany

Date the purchase order was accepted on.

channelobject

Product channel details.

commentsstring

Comments.

completed_dateany

Date of completion.

createdany

Created date.

currencyobject

Currency.

currency_idnumber

Currency ID.

discountnumber

Discount amount.

discount_typeenum<string>

Discount type.

Available options: percentage, value
goodsinsany

List of goodsins.

idnumber

ID.

linesany

Ordered lines.

modifiedany

Last modified date.

notification_email_addressesstring

Notification email address.

paymentsany

Payments made to suppliers.

product_channel_idnumber

ID of the product channel.

product_component_supplier_idnumber

Supplier ID.

purchase_order_type_idnumber

ID of the purchase order type.

referencesany

List of references.

reject_reasonstring

Reason for rejecting the purchase order.

statusenum<string>

Purchase order status.

Available options: draft, cancelled, awaiting_approval, awaiting_booking, rejected, open, completed, discrepancies, pending_completion
supplierobject

Supplier.

tagsany

List of applied tags.

typeobject

Purchase order type.

warehouseobject

Warehouse.

warehouse_idnumber

Warehouse ID.