Tag a list of customers

Request

Tags a list of customers.

If a customer in the list already has the specified tag applied, the customer is ignored. This is an asynchronous operation.

Security
SecretApiKey or JWT
Path
tagstring^[@~\-\.\w\s+]+$required

Name of the tag.

Bodyapplication/jsonrequired
customerIdsArray of strings, [ 1 .. 1000 ] itemsrequired

List of customer IDs.

curl -i -X POST \
  'https://www.rebilly.com/_mock/catalog/all/tags/{tag}/customers' \
  -H 'Content-Type: application/json' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE' \
  -d '{
    "customerIds": [
      "string"
    ]
  }'

Responses

Customers tagging process has been scheduled.

Headers
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Response
No content