Coupon API workflow explains processes of creating and removing instant discount and downloadable coupons.
The following 18 APIs are included.
API Document List
- (Common) Query the budget status
- (Common) Query one contract
- (Common) Query a list of contracts
- Create a downloadable coupon
- Remove a downloadable coupon
- Create downloadable coupon items
- Query one downloadable coupon (couponId)
- Check the request status of downloadable coupon
- Create an instant discount coupon
- Remove an instant discount coupon
- Create instant discount coupon items
- Query one instant discount coupon (couponId)
- Query one instant discount coupon (couponItemId)
- Query one instant discount coupon (vendorItemId)
- Query a list of instant discount coupons (status)
- Query a list of instant discount coupons (orderId)
- Query a list of instant discount coupon items (status)
- Check the request status of instant discount coupon
B. Order of creating an instant discount coupon
1) Create a contract: A contract ID (contractId) is created automatically when the budget is set on WING.
2) Check the contract no.: Check the contract ID (contractId) created by the contract list query API.
3) Create an instant discount coupon: Use the vendoritemId and contract ID to create a coupon (available only when a product is approved; enter coupon info).
4) Check the request status: Coupon API is async, so its result cannot be available promptly. You must use the request status check API to check the results of calling coupon creation/deletion/item addition APIs.
5) Create coupon items: Apply the created coupon to products (vendoritemId). When creating coupon items, you can apply a coupon to up to 10,000 products with one API call.
6) Check the request status: Coupon API is async, so its result cannot be available promptly. You must use the request status check API to check the results of calling coupon creation/deletion/item addition APIs.