Create new coupon
643 matches
100 actions
Swagger API2Cart
100 actions
- AccountCartAddPOSTv1.0.0
- AccountCartListGETv1.0.0
- AccountSupportedPlatformsGETv1.0.0
- AttributeAssignGroupPOSTv1.0.0
- AttributeAssignSetPOSTv1.0.0
- AttributeAttributesetListGETv1.0.0
- AttributeCountGETv1.0.0
- AttributeDeleteDELETEv1.0.0
- AttributeGroupListGETv1.0.0
- AttributeInfoGETv1.0.0
- AttributeTypeListGETv1.0.0
- AttributeUnassignGroupPOSTv1.0.0
- AttributeUnassignSetPOSTv1.0.0
- AttributeUpdatePOSTv1.0.0
- BasketInfoGETv1.0.0
- BasketItemAddPOSTv1.0.0
- BridgeUpdatePOSTv1.0.0
- CartBridgeGETv1.0.0
- CartCatalogPriceRulesCountGETv1.0.0
- CartCatalogPriceRulesListGETv1.0.0
- CartClearCachePOSTv1.0.0
- CartConfigGETv1.0.0
- CartCouponAddPOSTv1.0.0
- CartCouponConditionAddPOSTv1.0.0
- CartCouponCountGETv1.0.0
- CartCouponDeleteDELETEv1.0.0
- CartDeleteDELETEv1.0.0
- CartDisconnectGETv1.0.0
- CartGiftcardAddPOSTv1.0.0
- CartGiftcardCountGETv1.0.0
- CartGiftcardListGETv1.0.0
- CartInfoGETv1.0.0
- CartListGETv1.0.0
- CartMetaDataListGETv1.0.0
- CartMetaDataSetPOSTv1.0.0
- CartMetaDataUnsetDELETEv1.0.0
- CartMethodsGETv1.0.0
- CartPluginListGETv1.0.0
- CartScriptAddPOSTv1.0.0
- CartScriptDeleteDELETEv1.0.0
- CartValidateGETv1.0.0
- CategoryAssignPOSTv1.0.0
- CategoryCountGETv1.0.0
- CategoryDeleteDELETEv1.0.0
- CategoryFindGETv1.0.0
- CategoryImageAddPOSTv1.0.0
- CategoryImageDeleteDELETEv1.0.0
- CategoryInfoGETv1.0.0
- CategoryUnassignPOSTv1.0.0
- CustomerAddPOSTv1.0.0
- CustomerAttributeListGETv1.0.0
- CustomerCountGETv1.0.0
- CustomerFindGETv1.0.0
- CustomerGroupAddPOSTv1.0.0
- CustomerGroupListGETv1.0.0
- CustomerInfoGETv1.0.0
- OrderAddPOSTv1.0.0
- OrderFinancialStatusListGETv1.0.0
- OrderFulfillmentStatusListGETv1.0.0
- OrderInfoGETv1.0.0
- OrderRefundAddPOSTv1.0.0
- OrderShipmentAddPOSTv1.0.0
- OrderShipmentDeleteDELETEv1.0.0
- OrderShipmentInfoGETv1.0.0
- OrderShipmentTrackingAddPOSTv1.0.0
- OrderStatusListGETv1.0.0
- OrderTransactionListGETv1.0.0
- ProductAddPOSTv1.0.0
- ProductAttributeValueSetPOSTv1.0.0
- ProductAttributeValueUnsetPOSTv1.0.0
- ProductChildItemFindGETv1.0.0
- ProductChildItemInfoGETv1.0.0
- ProductCurrencyAddPOSTv1.0.0
- ProductCurrencyListGETv1.0.0
- ProductDeleteDELETEv1.0.0
- ProductFieldsGETv1.0.0
- ProductFindGETv1.0.0
- ProductImageAddPOSTv1.0.0
- ProductImageDeleteDELETEv1.0.0
- ProductInfoGETv1.0.0
- ProductManufacturerAddPOSTv1.0.0
- ProductOptionAddPOSTv1.0.0
- ProductOptionAssignPOSTv1.0.0
- ProductOptionListGETv1.0.0
- ProductOptionValueAddPOSTv1.0.0
- ProductOptionValueAssignPOSTv1.0.0
- ProductPriceAddPOSTv1.0.0
- ProductPriceDeleteDELETEv1.0.0
- ProductReviewListGETv1.0.0
- ProductStoreAssignPOSTv1.0.0
- ProductTaxAddPOSTv1.0.0
- ProductVariantAddPOSTv1.0.0
- ProductVariantCountGETv1.0.0
- ProductVariantDeleteDELETEv1.0.0
- ProductVariantImageAddPOSTv1.0.0
- ProductVariantImageDeleteDELETEv1.0.0
- ProductVariantInfoGETv1.0.0
- ProductVariantPriceAddPOSTv1.0.0
- ProductVariantPriceDeleteDELETEv1.0.0
- TaxClassInfoGETv1.0.0
E-commerce/Swagger API2Cart
CartCouponAdd
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
{
"type": "object",
"required": [
"action_amount",
"action_apply_to",
"action_scope",
"action_type",
"code"
],
"properties": {
"action_amount": {
"type": "number",
"description": "Defines the discount amount value."
},
"action_apply_to": {
"type": "string",
"description": "Defines where discount should be applied",
"enum": [
"order_total",
"item_price",
"shipping"
]
},
"action_condition_entity": {
"type": "string",
"description": "Defines entity for action condition."
},
"action_condition_key": {
"type": "string",
"description": "Defines entity attribute code for action condition."
},
"action_condition_operator": {
"type": "string",
"description": "Defines condition operator."
},
"action_condition_value": {
"type": "string",
"description": "Defines condition attribute value/s. Can be comma separated string."
},
"action_scope": {
"type": "string",
"description": "Specify how discount should be applied. If scope=matching_items, then discount will be applied to each of the items that match action conditions. Scope order means that discount will be applied once.",
"enum": [
"order",
"matching_items"
]
},
"action_type": {
"type": "string",
"description": "Coupon discount type",
"enum": [
"percent",
"fixed"
]
},
"code": {
"type": "string",
"description": "Coupon code"
},
"codes": {
"type": "array",
"description": "Entity codes",
"items": {
"type": "string"
}
},
"date_end": {
"type": "string",
"description": "Defines when discount code will be expired."
},
"date_start": {
"type": "string",
"description": "Defines when discount code will be available."
},
"name": {
"type": "string",
"description": "Coupon name"
},
"store_id": {
"type": "string",
"description": "Store Id"
},
"usage_limit": {
"type": "integer",
"description": "Usage limit for coupon."
},
"usage_limit_per_customer": {
"type": "integer",
"description": "Usage limit per customer."
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
{
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"coupon_id": {
"type": "string"
}
}
},
"return_code": {
"type": "integer"
},
"return_message": {
"type": "string"
}
}
}