Update a Product

Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged

Path Parameters
  • id
Body
required
application/json

Request parameters for creating a new product.

  • Type: object · ProductBase

    Request parameters for creating a new product.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/v1/products/{id}
curl 'https://api.paypercut.io/v1/products/{id}' \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "active": true,
  "name": "",
  "description": "",
  "unit_label": ""
}'
{
  "active": true,
  "name": "string",
  "description": "string",
  "unit_label": "string",
  "id": "string"
}