Bulk Add Modifiers

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

Bulk Add Modifiers

Use this API to add many modifiers to a merchant's catalogue in one request, instead of calling Add Modifier once for each item. Modifiers are options customers can add to a product, such as sizes or extras, and are grouped by group_name (for example, a "Sizes" group with Small, Medium and Large). You can send between 1 and 1000 modifiers per request. The API returns a bulk_request_id straight away, and the modifiers are created in the background.

When to use it

  • To set up a merchant's modifier groups, such as sizes, add-ons or extras, in one go.
  • To import modifiers from your own system.
  • To add up to 1000 modifiers at once in a single request.

How it works

  1. Send the modifiers with a new idempotency_key, making sure each one has a group_name.
  2. Save the bulk_request_id from the response.
  3. Use Bulk Product Status to check progress and see the outcome of each modifier.

Only one bulk request can run at a time per merchant. If a request times out, resend the same body with the same idempotency_key to get the original request back without creating duplicates.

Body Params
string
required
Defaults to h6tSvf0Cz7fSB86B44bkLEplS15AsWYo

Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#).

string
required
Defaults to zOKj0LUOiW4L9jFRrMbMiJQ5KxQEpSMm

Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#).

string
required
Defaults to 2412333540

EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2.

string
required
Defaults to bulk_add_modifiers

Transaction type. Must be bulk_add_modifiers.

string
required
Defaults to 1

API version. Must be 1.

string
required
Defaults to MOD-KEY-001

Unique key for this upload. Must be 1 to 64 characters and contain only letters, numbers, hyphen (-) or underscore (_). Use a new key for every new upload; resend the same key only when retrying the same request.

modifiers
array of objects
required

List of modifiers to create. Must contain at least 1 and not more than 1000 modifiers.

modifiers*
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json