apply_coupon
ActiveTool of Synchronity
declared in 0.2.0
Apply a discount or promotional code to the cart. Returns the updated cart with discount applied.
Parameters schema
{
"type": "object",
"required": [
"site_id",
"cart_id",
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Coupon or promotional code string"
},
"cart_id": {
"type": "string",
"description": "Cart ID"
},
"site_id": {
"type": "string",
"description": "Registered site ID"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Synchronity
https://github.com/themewireco/synchronity
2/7 registries