post
https://securelink-staging.valorpaytech.com:443/api/v1/bulk_add_modifiers
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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
- Send the modifiers with a new
idempotency_key, making sure each one has agroup_name. - Save the
bulk_request_idfrom the response. - 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.
