Storefront growth

Create a storefront test

POST
/v1/stores/{storeId}/growth/experiments

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/growth/experiments" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "page": "string",    "target": "string",    "variants": [      {        "key": "string",        "label": "string",        "value": "string"      },      {        "key": "string",        "label": "string",        "value": "string"      }    ],    "enabled": true  }'
{  "name": "string",  "page": "string",  "target": "string",  "variants": [    {      "key": "string",      "label": "string",      "value": "string"    },    {      "key": "string",      "label": "string",      "value": "string"    }  ],  "enabled": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "createdAt": "string",  "updatedAt": "string"}