Discounts
Create Discount
Create discount lines for an existing order
post/orders/{id}/discount_lines
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
{
"amount": 500,
"code": "123",
"type": "loyalty"
}Response
successful