POST
/
products
curl --request POST \
  --url https://eu.sequencehq.com/api/products \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Fixed priced product",
  "label": "Fixed priced product - UK"
}'
{
  "id": "994d23f7-47b6-43ee-af6b-cd27181196b6",
  "name": "Fixed priced product",
  "label": "Fixed priced product - UK",
  "createdAt": "2022-06-28T16:47:00Z",
  "updatedAt": "2022-06-28T16:47:00Z"
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Body

application/json
name
string
required

Name of the Product, this appears within Sequence's dashboard.

Example:

"Fixed priced product"

label
string

The internal description of the product. This can be used to maintain some explanation or comments regarding the product.

Example:

"Fixed priced product - UK"

Response

201
application/json
Created
id
string
required

Product ID

Example:

"994d23f7-47b6-43ee-af6b-cd27181196b6"

name
string
required

Name of the Product, this appears within Sequence's dashboard.

Example:

"Fixed priced product"

createdAt
string
required

Time at which the Product was first created, in ISO 8601 format (UTC). This is set by the server and cannot be changed. Expect millisecond precision.

Example:

"2022-06-28T16:47:00Z"

updatedAt
string
required

Time at which the Product was last updated, in ISO 8601 format (UTC). Expect millisecond precision.

Example:

"2022-06-28T16:47:00Z"

label
string

The internal description of the product. This can be used to maintain some explanation or comments regarding the product.

Example:

"Fixed priced product - UK"