Coupons
Manage discount coupons for your store.
List Coupons
GET
/api/v1/couponsExample Request
curl -X GET https://ship.sellpass.io/api/v1/coupons \
-H "x-api-key: YOUR_API_KEY" \
-H "x-store-hash: YOUR_STORE_HASH"curl -X GET https://ship.sellpass.io/api/v1/coupons \
-H "x-api-key: YOUR_API_KEY" \
-H "x-store-hash: YOUR_STORE_HASH"Create Coupon
POST
/api/v1/couponsParameters
Example Request
curl -X POST https://ship.sellpass.io/api/v1/coupons \
-H "x-api-key: YOUR_API_KEY" \
-H "x-store-hash: YOUR_STORE_HASH" \
-H "Content-Type: application/json" \
-d '{
"code": "SUMMER50",
"type": "percent",
"value": 50,
"max_uses": 100
}'curl -X POST https://ship.sellpass.io/api/v1/coupons \
-H "x-api-key: YOUR_API_KEY" \
-H "x-store-hash: YOUR_STORE_HASH" \
-H "Content-Type: application/json" \
-d '{
"code": "SUMMER50",
"type": "percent",
"value": 50,
"max_uses": 100
}'