Products

The product catalog — CRUD endpoints and required scopes.

View as Markdown

A product is the thing you're selling — one product can have multiple prices under it (e.g. a monthly and an annual price for the same product).

GET/api/Product— List products in this workspace
PropertyValue
Required scopeproducts:read
Idempotency-KeyNot required
ParameterInTypeRequired
pagequeryinteger (int32)
pageSizequeryinteger (int32)
orderByquerystring
orderDirectionquerystring
createdFromquerystring (date-time)
createdToquerystring (date-time)
POST/api/Product— Create a new product
PropertyValue
Required scopeproducts:write
Idempotency-KeyNot required
ParameterInTypeRequired
activebodyboolean
descriptionbodystring
metadatabodyobject
namebodystring
GET/api/Product/{productId}— Retrieve a single product
PropertyValue
Required scopeproducts:read
Idempotency-KeyNot required
ParameterInTypeRequired
productIdpathstringRequired
PUT/api/Product/{productId}— Update a product (name, description, active state)
PropertyValue
Required scopeproducts:write
Idempotency-KeyNot required
ParameterInTypeRequired
productIdpathstringRequired
activebodyboolean
descriptionbodystring
metadatabodyobject
namebodystring