Skip to main content
POST
/
dev
/
v1
/
products
/
{id}
/
variants
/
fields
/
{fieldId}
/
options
Create product field option
curl --request POST \
  --url https://api.shoppex.io/dev/v1/products/{id}/variants/fields/{fieldId}/options \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "United States",
  "value": "us",
  "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
fieldId
string
required

Body

application/json

The body is of type object.

Response

Successful response

data
object