Products
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.
post/orders/{id}/line_items
Path parameters
idstring required
Identifier of the resource
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"name": "Box of Cohiba",
"unit_price": 20000,
"quantity": 1,
"sku": "XYZ12345",
"brand": "Cohiba",
"description": "Imported From Mex.",
"metadata": {
"key": "value"
}
}Response
Successful operation