SBProduct
This object represents a product in your business. Use it to manage products sold through SmartBills.
Attribute | Description | Type | Required |
---|---|---|---|
id | Unique identifier of the product | integer | Yes |
name | Name of the product | string | Yes |
description | Description of the product | string | No |
slug | URL-friendly identifier | string | No |
vendorId | ID of the vendor | integer | No |
category | Category of the product | string | No |
tags | Tags associated with the product | string[] | No |
publishedAt | Publish date | date | No |
locale | Locale of the product | string | No |
images | Images of the product | SBProductImage[] | No |
variants | Variants of the product | SBProductVariant[] | No |
createdAt | Creation timestamp | date | Yes |
updatedAt | Last update timestamp | date | No |