API reference
Update discount
PUT
/v1/discounts/{discountId}Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Path Parameters
discountId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/v1/discounts/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Empty