Unit label, such as per seat or per unit.
Specifies if the product requires shipping. If this value is true, shipping calculations are applied.
Names of product options. A product option is a property that distinguishes the pricing plans of a product. The value of each product option is specified in the productOptions field of each pricing plan. For more information, see Plans.
[ "region", "size" ]
Tax category of the product. For a complete list of supported tax categories, see TaxJar sales tax API reference. If none of the tax categories from the list are applicable for your product, use the general tax category 00000.
Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields.
{ "foo": "bar" }
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/products
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/products
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/products
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/products \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"name": "Premium membership",
"unitLabel": "seat",
"description": "string",
"requiresShipping": false,
"options": [
"region",
"size"
],
"taxCategoryId": "00000",
"accountingCode": "4010",
"recognition": {
"debitAccountId": "string",
"creditAccountId": "string"
},
"customFields": {
"foo": "bar"
}
}'Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Number of requests still available for this rate limit. For more information, see Rate limits.
Unit label, such as per seat or per unit.
Specifies if the product requires shipping. If this value is true, shipping calculations are applied.
Names of product options. A product option is a property that distinguishes the pricing plans of a product. The value of each product option is specified in the productOptions field of each pricing plan. For more information, see Plans.
[ "region", "size" ]
Tax category of the product. For a complete list of supported tax categories, see TaxJar sales tax API reference. If none of the tax categories from the list are applicable for your product, use the general tax category 00000.
Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields.
{ "foo": "bar" }
{ "id": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ", "name": "Premium membership", "unitLabel": "seat", "description": "string", "requiresShipping": false, "options": [ "region", "size" ], "taxCategoryId": "00000", "accountingCode": "4010", "recognition": { "debitAccountId": "string", "creditAccountId": "string" }, "customFields": { "foo": "bar" }, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }