Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.

Path Parameters

metaobject_id
string
required

The metaobject's numeric id (the tail of its gid); a body id must name the same metaobject.

Query Parameters

merchant_id
string
required

Lite merchant id, e.g. shopify-<shop id>.

Body

application/json
handle
string
required
start_date
string
required
end_date
string
required
experiment_name
string
required
notify_email
string
required
id
string | null

The test's Shopify metaobject GID. Required unless generated_conclusion is set: a generation without it answers 500 and writes nothing.

generated_conclusion
string | null

A stored conclusion; when non-empty it is returned as-is.

Response

Saved; the body is JSON null.