3PP sync cancelled orders to OC. If the seller doesn't want OC to fulfill orders they placed previously, seller can cancel these orders through 3PP and 3PP needs to sync canceled orders to OC.
Request
Header Params
clientKey
string
required
clientKey
Example:
bd1d1971-d0db-11ea-b4a1-00505694c27b
vAuthorization
string
required
vAuthorization
Access-Token
string
required
First please get the access_token thru accessToken&refreshToken API and refresh accseeToken. Then pass the value following the below format to Header. Bearer+one space+access_token valueExample: Thru the API get Access_token value, which is 'accesstokenvaluexxxxxxxx'. Header Value is as below: Bearer accesstokenvaluexxxxxxxx
Example:
{{Access-Token}}
Body Params application/json
apiVersion
string
optional
data
object(ExternalOrderCancelRequestDTO)
optional
cancelReason
string
optional
Cancellation reasons
cancelTime
string
required
The time seller submit canceling request on 3PP site, Date+Time Zone,UTC ISO8601 format ,example:2018-11-28T20:09:57+0800