Products
Add a product
Add a product the workspace’s posts can promote.
POST
Add a product
Needs
products:create, and a role in the workspace that can create products: owners, managers, content managers and content creators can. See Permissions.name must be unique in the workspace: a name it already has is refused with 422 and the message The product name already exists in this workspace. Send a description of 50 to 500 characters, a url, or both. Hooks are added with Update a product.
Products are on paid plans. When the workspace owner is on Free, nothing is saved and the answer is 403 with error: plan_limit_reached and limit: products. The owner’s key gets upgrade_url and upgrade_plan; anyone else’s is told to ask the owner (owner_plan: true, no upgrade_url).
The workspace is checked first, then your role, then the plan, then the body.
Errors
Related
- List products: the products there are.
- Update a product: change one.
Authorizations
Body
application/json
Response
The product.