Updates purchase orders details.

​

Permissions: Unit users. PurchaseManagement api family.

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • PurchaseOrderStatusEnum { Approved: 'A'; New: 'N'; Failed: 'E'; Ordering: 'O'; Ordered: 'T'; FileReceived: 'F'; Rejected: 'R'; Acknowledged: 'C'; Shipped: 'S'; Unlinked: 'U'; Invoiced: 'I' }

    values
    ANEOTFRCSUI

Responses

  • 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