/merchandising

Submit updates to existing Merchandising campaigns. A response with status: ok acknowledges the request. Retrieve the campaign with GET /merchandising and compare the returned fields to confirm that the changes took effect.

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

Update campaigns using key, private_key, and a campaigns array in the JSON body. Include the existing campaign id and the full campaign fields shown: name, active, rules, triggers, and triggers_match. Include the required campaign fields even when only changing the description.

Use the ID returned by POST. The example keeps the campaign inactive.

A response with status ok acknowledges the request. Use a later GET request to verify stored changes.

Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.

Body Params
string
required

The public key of the store

string
required

The private key of the store

campaigns
array
required

A JSON array of merchandising campaign objects. See the complete body example and field requirements above.

campaigns*
Response

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