Skip to main content
POST
/
dev
/
v1
/
products
/
{id}
/
variants
/
fields
Create product variant field
curl --request POST \
  --url https://api.shoppex.io/dev/v1/products/{id}/variants/fields \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Edition",
  "type": "radio",
  "required": false,
  "sort_order": 1
}
'
{
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.shoppex.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

Successful response

data
object