Skip to main content
POST
/
products
Create a product
curl --request POST \
  --url https://api.projectcor.com/v1/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "client_id": 123,
  "brand_id": 123
}
'
{
  "id": 123,
  "name": "<string>",
  "client_id": 123,
  "brand_id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Product Name

client_id
integer
required

Client ID

brand_id
integer
required

Brand ID

Response

200 - application/json

Product created successfully

id
integer
name
string
client_id
integer
brand_id
integer