Applies a coupon code to the current shopping cart and recalculates discounts, totals, and applicable rules.This endpoint is typically used when a customer enters a promo code during checkout.
Request
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.zid.sa//cart/coupons?coupon_code=SUMMER25'