SALES DOCUMENT SYNC API

REQUIRED FIELDS: The following fields must be present in each request to this enpoint.

  • items
  • items -> quantity
  • items -> originVariantCode
  • status *allowed values: "open", "shipped", "cancelled"*
  • distributorCode
  • globalOrderNumber
  • OPTIONAL FIELD:

  • cancelReason *allowed values: "Items not available", "Above maximum OTIF", "Created in error","Price Conflict", "Rejected: Customer has bought elsewhere","Rejected: Customer does not have cash","Rejected: Incorrect order","Customer not available"*
  • cancelReason can be set when "status" is "cancelled"