Create Product

Creates a new product (line item) for an existing order. Use this endpoint to add an additional item to the order after it has been created.

Path Params
string
required

Identifier of the resource

Body Params

Fields required to create a new product (line item) for an existing order. This request adds a new item to the order.

string
required

The name of the item. It will be displayed in the order.

int32
required
≥ 0

The price of the item in cents.

int32
required
≥ 1

The quantity of the item in the order.

string

The stock keeping unit for the item. It is used to identify the item in the order.

string

The brand of the item.

string
length ≤ 250

Short description of the item

tags
array of strings
length ≥ 1

List of tags for the item. It is used to identify the item in the order.

tags
metadata
object

Arbitrary key-value data for your internal use. Keys should be strings; values can be any JSON value.

Headers
string
enum
Defaults to es

Use for knowing which language to use

Allowed:
string

In the case of a holding company, the company id of the child company to which will process the request.

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.app-v2.1.0+json