The Perspect Products API

The Products API allows you to create and manage products and services that are offered for sale on your Perspect website.


Create Product

PUT /v1/{site_name}/products

Parameters

Required:

product: str
product_category_id: int
price: float
unit_amount: int
currency: str

Optional:

recurring: dict
tax: float 
description: str 
slug: str
attachment_ids: list
order: int

Get Product

GET  /v1/{site_name}/products/{product_id}

Get Products

GET  /v1/{site_name}/products

Modify Product

POST  /v1/{site_name}/products/{product_id}

Optional:

product: str
product_category_id: int
price: float
unit_amount: int
currency: str
recurring: dict
tax: float
description: str
slug: str
attachment_ids: list
order: int

Delete Product

DELETE  /v1/{site_name}/products/{product_id}