put https://{host}/v2/transactions
Lets you update deliveryStatus, custom fields, and extended field details of a transaction.
Request Query Parameters
Parameter | Type | Description |
---|---|---|
identifierName | Enum | Pass any of the registered identifier name of the customer. Values: mobile , email , externalId , id , wechat , martjackid , fbId , cardnumber , cardExternalId |
identifierValue | string | Pass the respective identifier value. For example, if identifierType is mobile, identifierValue is mobile number. |
source | Enum | Pass the source from which the transaction is made. Values: INSTORE (for InStore), WECHAT (WeChat), MARTJACK (AnywhereCommerce), WEB_ENGAGE (Web-engage integration), ECOMMERCE (ECOMMERCE), JD (JD), TAOBAO (Taobao), TMALL (TMall), FACEBOOK (Facebook), WEBSITE (other website), OTHERS (any other source). |
accountId | string | For sources with multiple accounts (such as MARTJACK, WECHAT), pass the respective account ID. Not applicable for INSTORE source. |
Request Body Parameter
Parameter | Type | Description |
---|---|---|
id | long | Unique id of the transaction generated internally. |
number | string | Unique transaction number that needs to be updated. |
extendedFields | obj | Valid transaction level extended field details in name and value pairs. |
deliveryStatus | Enum | Delivery status of the item. Values: PLACED , PROCESSED , SHIPPED , DELIVERED , RETURNED . |