Skip to main content
PUT
/
products
/
{product_id}
Update a product
curl --request PUT \
  --url https://api.projectcor.com/v1/products/{product_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'name=<string>' \
  --data client_id=123 \
  --data 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.

Path Parameters

product_id
integer
required

Body

application/x-www-form-urlencoded
name
string

Product Name

client_id
integer

Client ID

brand_id
integer

Brand ID

Response

200 - application/json

Product updated successfully

id
integer
name
string
client_id
integer
brand_id
integer