POST
/
products
/
{id}
/
archive
curl --request POST \
  --url https://eu.sequencehq.com/api/products/{id}/archive \
  --header 'Authorization: <authorization>'
{
  "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",
  "archivedAt": "2022-08-02T16: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

Path Parameters

id
string
required

Product ID

Response

200
application/json
OK
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"