Products
Create a new Product
Create a new Product
POST
/
products
Header
Body
curl --request POST \
--url https://dev.seqhq.io/api/products \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"label": "Fixed priced product - UK",
"name": "Fixed priced product"
}'
{
"createdAt": "2022-06-28T16:47:00Z",
"id": "994d23f7-47b6-43ee-af6b-cd27181196b6",
"label": "Fixed priced product - UK",
"name": "Fixed priced product",
"sequenceAccountId": "683fe518-60c8-429f-9320-8aa7efc20bcc",
"updatedAt": "2022-06-28T16:47:00Z"
}
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Body
application/json
label
string
requiredname
string
requiredResponse
201 - application/json
createdAt
string
requiredid
string
requiredlabel
string
requiredname
string
requiredsequenceAccountId
string
requiredupdatedAt
string
requiredcurl --request POST \
--url https://dev.seqhq.io/api/products \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"label": "Fixed priced product - UK",
"name": "Fixed priced product"
}'
{
"createdAt": "2022-06-28T16:47:00Z",
"id": "994d23f7-47b6-43ee-af6b-cd27181196b6",
"label": "Fixed priced product - UK",
"name": "Fixed priced product",
"sequenceAccountId": "683fe518-60c8-429f-9320-8aa7efc20bcc",
"updatedAt": "2022-06-28T16:47:00Z"
}