POS Integration
Completed
-
Overview
-
- Join this Course to access resources
-
Walkthrough
Coupon Return Handling
Coupon Return Handling
Coupon Return Handling:
Overview
This section details the essential data requirements for returning a coupon to a consumers wallet. You will want to do this if a consumer uses a coupon on a product and later returns that item. When a coupon is applied the lines that it is applied to are returned with it. This information should be saved so you can determine when a return is required.
Essential Data for Returning a Coupon
To return a coupon, the following information is required:
- Device Reference (device_ref): Used to identify the POS device.
- Consumer ID (consumer_id): The unique identifier of the consumer.
- Coupon ID (coupon_id): The ID of the coupon to be returned.
- Value (value): The value of the coupon.
- Quantity (qty): The quantity of the coupon.
Using the Coupon Return Endpoint
This endpoint is used to return a coupon that was previously redeemed. The same endpoint is used for returning both a promotion and a coupon. When a coupon is authorized PETZ returns the order line references that the coupon was applied to. If an item that had a coupon is returned, it is up to the POS to return that coupon.
API Endpoint
Utilize the following endpoint for handling coupon returns to the consumer.
- Coupon Return: /posface/coupon/return/
- For returning coupons or promo to the consumer wallet.
There are no comments for now.