Skip to main content
POST
/
products
{
  "name": "Premium Widget",
  "tax_code": "P0000000",
  "sku": "WIDGET-001",
  "description": "A premium quality widget",
  "corporation_id": "550e8400-e29b-41d4-a716-446655440000",
  "customs_jurisdiction_details": {
    "US": "8471.30.0100"
  }
}
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Premium Widget",
    "tax_code": "P0000000",
    "sku": "WIDGET-001",
    "description": "A premium quality widget",
    "corporation_id": "550e8400-e29b-41d4-a716-446655440000",
    "source_platform_id": "",
    "source_platform": "",
    "customs_jurisdiction_details": {
      "US": "8471.30.0100"
    },
    "created_at": 1704067200
  },
  "message": "Successfully created product."
}
{
  "name": "Premium Widget",
  "tax_code": "P0000000",
  "sku": "WIDGET-001",
  "description": "A premium quality widget",
  "corporation_id": "550e8400-e29b-41d4-a716-446655440000",
  "customs_jurisdiction_details": {
    "US": "8471.30.0100"
  }
}
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Premium Widget",
    "tax_code": "P0000000",
    "sku": "WIDGET-001",
    "description": "A premium quality widget",
    "corporation_id": "550e8400-e29b-41d4-a716-446655440000",
    "source_platform_id": "",
    "source_platform": "",
    "customs_jurisdiction_details": {
      "US": "8471.30.0100"
    },
    "created_at": 1704067200
  },
  "message": "Successfully created product."
}

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."