Create DiscountAsk AIpost https://api.conekta.io/orders/{id}/discount_linesCreate discount lines for an existing ordenPath ParamsidstringrequiredIdentifier of the resourceBody Paramsrequested field for a discount linesamountint64required≥ 0The amount to be deducted from the total sum of all payments, in cents.codestringrequiredDiscount code.typestringrequiredIt can be 'loyalty', 'campaign', 'coupon' o 'sign'HeadersAccept-LanguagestringenumDefaults to esUse for knowing which language to useesenAllowed:esenX-Child-Company-IdstringIn the case of a holding company, the company id of the child company to which will process the request.Responses 200successful 401authentication error 404not found entity 500internal server errorUpdated 7 months ago