Products
Create a product
POST
https://api.piriod.com/products/
Creates a new Product object.
Request Body
name
string
A name for product with a max length of 64 characters.
unit_label
string
A unit label for product with a max length of 12 characters.
Retrieve a product
GET
https://api.piriod.com/products/{{id}}/
Retrieves a Product object.
Path Parameters
id
string
ID of the Product object.
Update a product
PATCH
https://api.piriod.com/products/{{id}}/
Path Parameters
id
string
ID of the Product object.
Request Body
name
string
A name for product with a max length of 64 characters.
unit_label
string
A unit label for product with a max length of 12 characters.
Destroy a product
DELETE
https://api.piriod.com/products/{{id}}/
Destroy a Product object.
Path Parameters
id
string
ID of the Product object.
List products
GET
https://api.piriod.com/products/
Retrieves a list of Product objects.
Query Parameters
name
string
Product name to filter results.
plans
string
Plan property to filter results. Accept operators.
Last updated