201Successful Response
Schema: app__core__success__SuccessEnvelope_OrderResponse___2
successbooleanmessagestringcodestringdataapp__api__v1__schemas__inventory__inventory__OrderResponse
/api/v1/purchase-orders/{id}/cancelCancel a PO and reverse any in-transit transfer.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
idstring · uuidrequiredSchema: app__core__success__SuccessEnvelope_OrderResponse___2
successbooleanmessagestringcodestringdataapp__api__v1__schemas__inventory__inventory__OrderResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject