AladiaDocs
Api referencePaymentProducts

Add discounts to a product

Create a discount

POST
/v2/payment/products/{id}/discounts

Create a discount

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

encryptedId?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/payment/products/string/discounts" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{}