A valid request URL is required to generate request examplesnull{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Update one legacy A/B test metaobject
Upserts the A/B test metaobject named by the body’s handle, creating its definitions on first use; when the body carries its id, it must be the path’s metaobject. Used to edit a running legacy whole-collection A/B test (dates, name, notify email, generated conclusion). Side effect: a Shopify metaobject write. Returns JSON null.
A valid request URL is required to generate request examplesnull{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
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
The metaobject's numeric id (the tail of its gid); a body id must name the same metaobject.
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
Body
The test's Shopify metaobject GID. Required unless generated_conclusion is set: a generation without it answers 500 and writes nothing.
A stored conclusion; when non-empty it is returned as-is.
Response
Saved; the body is JSON null.
Was this page helpful?

