POST
/
consumers
/
{consumer_id}
/
invoicing
/
products
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/invoicing/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "unit_price": 123,
  "tax_id": "<string>",
  "code": "<string>",
  "unit": "<string>",
  "category": "<string>",
  "currency": "<string>",
  "description": "<string>",
  "cost": 123
}'
{
  "id": "<string>",
  "source_ref": {
    "id": "<string>",
    "model": "<string>"
  },
  "name": "<string>",
  "unit_price": 123,
  "tax_id": "<string>",
  "code": "<string>",
  "unit": "<string>",
  "category": "<string>",
  "currency": "<string>",
  "description": "<string>",
  "cost": 123,
  "available_quantity": 123
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.