Skip to main content
PUT
/
api
/
public
/
v1
/
products
/
{productId}
Update product
curl --request PUT \
  --url http://app.localhost:3000/api/public/v1/products/{productId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "updatedData": {
    "name": "<string>",
    "description": "<string>",
    "unitLabel": "<string>",
    "accountingCode": "<string>",
    "active": true,
    "isShippable": true,
    "isTaxable": true,
    "autoSync": true,
    "taxCategory": "<string>",
    "mappedTaxCategoryId": "<string>",
    "id": "<string>"
  }
}
'
{
  "message": "<string>",
  "code": "<string>",
  "issues": [
    {
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

productId
string
required

Body

application/json
updatedData
object
required

Response

Successful response