Operations 6
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/v1/bulk-operation/coupons/{batch_id}/status/error
List errors from a coupon import · Query the list of errors related to a coupon import
#
Ask an LLM
“Which coupon codes failed during my coupon import?”
“Where can I see what went wrong in a coupon batch upload?”
Tell an agent
List the errors from coupon import batch {batch_id}.
Show the failures in coupon upload batch {batch_id}.
GET
/v1/bulk-operation/coupons/{batch_id}/status
Check the status of a coupon import · Query the status of a coupon import
#
Ask an LLM
“Is my coupon batch import queued, processing or done?”
“Can I track the progress of a coupon code upload?”
Tell an agent
Check the status of coupon import batch {batch_id}.
Tell me whether coupon batch {batch_id} has finished processing.
POST
/v1/bulk-operation/coupons/{coupon_pool_id}/{action}
Upload or assign coupons in a pool in bulk · Manage coupon codes in coupon pools
#
Ask an LLM
“Can I upload a batch of coupon codes into a coupon pool?”
“Can I assign or unassign coupons to customers in bulk?”
Tell an agent
Run the {action} bulk operation on coupon pool {coupon_pool_id}.
Upload a batch of coupon codes to pool {coupon_pool_id} using action {action}.
Ask an LLM
“How do I look up a coupon by its code without knowing which customer has it?”
“Can I find all redeemed or expired coupons in the program?”
Tell an agent
Find the coupon with code {code}.
Search all coupons with status {status}, {limit} per page, page {page}.
GET
/customers/{customer_id}/coupons
Filter coupons assigned to a customer · List coupons assigned to a customer
#
Ask an LLM
“Does a member hold a coupon with a particular code?”
“Can I filter a customer's assigned coupons by type or value?”
Tell an agent
Check whether customer {customer_id} has coupon code {code}.
List customer {customer_id}'s assigned coupons of type {type} with status {status}.
GET
/v1/customers/{customer_id}/coupons
List a customer's coupons · Retrieve the list of a customer's coupons
#
Ask an LLM
“What coupons does a specific loyalty member hold?”
“Can I sort a customer's coupons by expiration date or redemption date?”
Tell an agent
List the coupons belonging to customer {customer_id}.
Show customer {customer_id}'s coupons matching {filter}, sorted by {sort}.
Documentation
Documentation
https://developers.antavo.com/docs/antavo-apis
APIReference
https://apidocs.antavo.com/api/index.html
Documentation
https://developers.antavo.com/docs/api-signing
APIReference
https://developers.antavo.com/reference/about-faq-api
APIReference
https://developers.antavo.com/reference/about-loyalty-read-api
APIReference
https://developers.antavo.com/reference/social-share-campaigns-api