A Time bound Fetch code, or fetch code, gives the shopper an alternative shortened code in the event that the barcode cannot be scanned by a cashier. The fetch code is a short-lived 16-digit code that customers can manually provide to the cashier for redemption. Fetch Code is a required component of the consumer experience.
These APIs generate a short-lived 16-digit code that customers can manually provide to the cashier for redemption. The following diagram illustrates both scenarios:
API to create the Time Bound Fetch Code from serialized gs1s
curl -X POST 'https://api.try.thecouponbureau.org/provider/time_bound_fetch_code' \
-H 'Content-Type: application/json' \
-H 'x-api-key: ACCESS_KEY' \
-H 'x-access-token: ACCESS_TOKEN' \
--data '{"gs1s":[<Array of base gs1s>], "fetch_code": "...", "mode": "...", validity_in_seconds: "..."}'
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article