Skip to content

Products

Create
products.create(ProductCreateParams**kwargs) -> ProductCreateResponse
POST/products
List
products.list() -> ProductListResponse
GET/products
Retrieve
products.retrieve(strcode) -> ProductRetrieveResponse
GET/products/{code}
ModelsExpand Collapse
class Product:

Product object

id: str

Unique identifier for the product

code: str

User-defined product identifier.

created: datetime

ISO 8601 timestamp when the product was created

formatdate-time
update_version: float

Version number for optimistic locking

workspace_id: str

Workspace ID this product belongs to

description: Optional[str]

Description of the product