curl --request POST \
--url 'https://api.stateset.com/api/v1/products' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"name": "string",
"product_type": null,
"slug": null
}'
{
"created_at": "2026-07-24T12:00:00Z",
"description": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"product_type": "string",
"slug": "string",
"status": "string",
"updated_at": "2026-07-24T12:00:00Z"
}
`POST /api/v1/products`
POST /api/v1/products
POST
/
api
/
v1
/
products
curl --request POST \
--url 'https://api.stateset.com/api/v1/products' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"name": "string",
"product_type": null,
"slug": null
}'
{
"created_at": "2026-07-24T12:00:00Z",
"description": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"product_type": "string",
"slug": "string",
"status": "string",
"updated_at": "2026-07-24T12:00:00Z"
}
Request body
CreateProductRequest
string,null
string
required
string,null
string,null
Responses
ProductResponse
Product created
ErrorBody
Invalid request
ErrorBody
Idempotency-Key reused with a different body
curl --request POST \
--url 'https://api.stateset.com/api/v1/products' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"description": null,
"name": "string",
"product_type": null,
"slug": null
}'
{
"created_at": "2026-07-24T12:00:00Z",
"description": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"product_type": "string",
"slug": "string",
"status": "string",
"updated_at": "2026-07-24T12:00:00Z"
}
⌘I