Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

Display name for the new product.

Example:

"SunShield Pro UV-Blocking Sunglasses"

tax_code
string
default:TPP

Code passed by the caller to determine taxability for this product. Default value, TPP, will be taxable in every jurisdiction. Additional values are available here.

Example:

"TPP"

sku
string

A unique stock keeping unit (SKU) identifier for the product. Must be unique within your corporation and contain at least one character.

Minimum string length: 1
Example:

"PT-1035"

description
string

A brief description of the product.

corporation_id
string

Unique identifier assigned by Commenda for the corporation associated with this product.

Example:

"b6d009b0-d174-463f-b030-94643c28e209"

Response

Create product response.

data
object

A product or service provided by the seller.

message
string
Example:

"Successfully created product."