curl --request POST \
--url https://api.meetcampfire.com/rr/api/v1/product \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"product_id": "<string>",
"product_name": "<string>",
"product_description": "<string>",
"currency": "<string>",
"price": 0,
"cost": 0,
"exclude_from_mrr": true,
"is_taxable": true,
"stripe_product_id": "<string>",
"avalara_item_id": 0,
"avalara_item_data": "<any>",
"anrok_item_id": "<string>",
"department": 123,
"invoice_account": 123,
"revenue_account": 123
}'
{
"id": 123,
"department_name": "<string>",
"invoice_account_name": "<string>",
"revenue_account_name": "<string>",
"tax_account_name": "<string>",
"tags": [
{
"id": 123,
"group_name": "<string>",
"parent_name": "<string>",
"parent": 123,
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"group": 123
}
],
"product_id": "<string>",
"product_name": "<string>",
"product_description": "<string>",
"currency": "<string>",
"price": 0,
"cost": 0,
"exclude_from_mrr": true,
"is_taxable": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"stripe_product_id": "<string>",
"avalara_item_id": 0,
"avalara_item_data": "<any>",
"anrok_item_id": "<string>",
"customer": 123,
"department": 123,
"invoice_account": 123,
"revenue_account": 123
}
curl --request POST \
--url https://api.meetcampfire.com/rr/api/v1/product \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"product_id": "<string>",
"product_name": "<string>",
"product_description": "<string>",
"currency": "<string>",
"price": 0,
"cost": 0,
"exclude_from_mrr": true,
"is_taxable": true,
"stripe_product_id": "<string>",
"avalara_item_id": 0,
"avalara_item_data": "<any>",
"anrok_item_id": "<string>",
"department": 123,
"invoice_account": 123,
"revenue_account": 123
}'
{
"id": 123,
"department_name": "<string>",
"invoice_account_name": "<string>",
"revenue_account_name": "<string>",
"tax_account_name": "<string>",
"tags": [
{
"id": 123,
"group_name": "<string>",
"parent_name": "<string>",
"parent": 123,
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"group": 123
}
],
"product_id": "<string>",
"product_name": "<string>",
"product_description": "<string>",
"currency": "<string>",
"price": 0,
"cost": 0,
"exclude_from_mrr": true,
"is_taxable": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"stripe_product_id": "<string>",
"avalara_item_id": 0,
"avalara_item_data": "<any>",
"anrok_item_id": "<string>",
"customer": 123,
"department": 123,
"invoice_account": 123,
"revenue_account": 123
}
Token-based authentication with required prefix "Token"
The response is of type object
.