Create Promotion
Create a Promotion
POST
https://api.moltin.com/v2/promotions
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The Bearer token to grant access to the API. |
Request Body
Name | Type | Description |
---|---|---|
type | string |
|
name | string | A general name for the promotion |
description | string | A general description for the promotion |
enabled | boolean |
|
automatic | boolean |
|
promotion_type | string | The type of schema being used for the promotion. |
schema | object | Definition of the promotion based on |
min_cart_value | array | An array of currency-value objects that define a minimum value of a cart required before discount is applied |
min_cart_value[].currency | string | The currency of the minimum cart value threshold |
min_cart_value[].amount | string | The minimum cart value threshold before discount can be applied. |
max_discount_value | array | An array of currency-value objects that define the maximum value of the discount |
max_discount_value[].currency | string | The currency of the maximum discount value |
max_discount_value[].amount | integer | The maximum value of the discount.. |
start | string | The start time of the promotion datetime ( |
end | string | The end time of the promotion datetime ( |
Example Request Payloads
Last updated