v1
latestOpenAPI 3.0.12026-07-24501176.6 MBUpdate Customer Status
Lets you update a customer's status label.
put/customers/lookup/status
Query parameters
source'FACEBOOK' | 'WEB_ENGAGE' | 'WECHAT' | 'INSTORE' | 'MARTJACK' | 'TMALL' | 'TAOBAO' | 'JD' | 'ECOMMERCE' | 'WEBSITE' required
Source in which you want to update customer status. For sources that support multiple accounts, you also need to provide the associated account id.
accountIdstring
Account from which the customer's status needs to be updated (Required only for sources with multiple accounts)
use_asyncboolean
Pass true to run loyalty activities in the background, side effects will not be returned in the API response. If false, API will wait for Loyalty activities to complete and then respond to the client with side effects in the API response.
identifierName'mobile' | 'email' | 'externalId' | 'cardnumber' | 'cardExternalId' | 'wechat' | 'martjackId' | 'fbId' required
Identifier used to identify the customer.
identifierValuestring required
Value of the specified identifier.
Headers
X-CAP-API-OAUTH-TOKENstring
Request body
Response
200
Example response
{
"createdId": 98662653
}