post https://app.pennylane.com/api/external/v1/products
This endpoint allows you to create a product based on a specific payload. You can even provide your own id.
Log in to see full request history
Responses
This endpoint allows you to create a product based on a specific payload. You can even provide your own id.
xxxxxxxxxx
11curl --request POST \
--url https://app.pennylane.com/api/external/v1/products \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"product": {
"vat_rate": "FR_1_05"
}
}
'
xxxxxxxxxx
17{
"product": {
"created_at": "2023-08-30T10:08:08.146343Z",
"label": "Pack 1",
"description": "This is the package level 1",
"vat_rate": "FR_1_05",
"unit": "piece",
"currency": "EUR",
"reference": "REF-453",
"source_id": "0e67fc3c-c632-4feb-ad34-e18ed5fbf66a",
"updated_at": "2023-08-30T10:08:08.146343Z",
"price_before_tax": 10,
"price": 12,
"substance": "string",
"v2_id": 1234
}
}