Updates purchase orders details.
Permissions: Unit users. PurchaseManagement api family.
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
- Type: stringFormat: uuidI
D required - Type: string | nullCommentmax length:50
- Type: string | nullCredit
Authorization max length:20 - Type: string | nullCredit
Memo Number max length:50 - Type: string | nullFormat: date-timeDelivery
Date the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string | nullFormat: date-timeInvoice
Date the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string | nullInvoice
Number max length:50 - Type: string | nullFormat: date-timeOrder
Date the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string | nullPurchase
Order Number max length:50 - Type: string | nullFormat: uuidShift
I D - Type: enumStatus
I D PurchaseOrderStatusEnum { Approved: 'A'; New: 'N'; Failed: 'E'; Ordering: 'O'; Ordered: 'T'; FileReceived: 'F'; Rejected: 'R'; Acknowledged: 'C'; Shipped: 'S'; Unlinked: 'U'; Invoiced: 'I' }
valuesANEOTFRCSUI
Responses
- 200
OK
Request Example for patch/v2/PurchaseManagement/PurchaseOrders
curl /v2/PurchaseManagement/PurchaseOrders \
--request PATCH \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"PurchaseOrderNumber": null,
"InvoiceNumber": null,
"CreditMemoNumber": null,
"CreditAuthorization": null,
"StatusID": "A",
"ShiftID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"OrderDate": null,
"DeliveryDate": null,
"InvoiceDate": null,
"Comment": null
}'
No Body
