Sync Order Confirmations

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Your system should validate and import submitted Orders into the ERP. Then, as the final step in the Order flow, OrderConfirmation objects should be returned to the RepSpark API. This updates the Order's StatusId to Valid (4), which will be reflected in the UI to sales representatives and customers.

Depending on the ERP and other processes in place, some confirmations might be made hours after submitted Orders are exported from the API to the ERP, while others may be immediate.

The OrderConfirmation resource uses the POST HTTP verb. This sync should only be used with the Delta sync mode header, as you will only want to send confirmations for the Orders you recently confirmed and not every confirmation ever.

The payload for the most part will be arrays with items:

{  
    "RepSparkOrderNumber": 123,  
    "ErpOrderNumber": "SO32221"  
}

ErpOrderNumber is a unique, arbitrary identifier from the ERP that can be used to match Orders in RepSpark with the corresponding Orders in the ERP. It is an optional attribute but strongly recommended. The ErrorMessage attribute can be added if for whatever reason the Order fails to validate on the ERP side. ErrorMessage is optional but recommended if available, for potential troubleshooting purposes.

🕑

Recommended sync cadence

Immediately after orders are confirmed as valid in the ERP.

Body Params

This request requires an array of OrderConfirmation objects. Click Add Object to display the attributes.

Headers
uuid
required

Refer to the Transaction Tokens page for more information.

string
enum
required

Refer to the Sync Modes page for more information.

Allowed:
string
enum
required

Refer to the Batch Types page for more information.

Allowed:
string
enum

May be omitted if resource is specified in the path.

Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Choose an example:
*/*
application/json