application/x-www-form-urlencoded (recommended) or application/json
API keys are generated under Account settings → API key. Regeneration is limited to once every 20 minutes per account per site (main or subsite). The full key is shown only once—save it immediately.
Note: Creates a refill ticket (visible in admin). An admin decides whether to request a refill from the supplier. refill: 1 means the ticket was accepted and created.
{
"refill": 1
}
curl example
Get refill status
action = refill_status
Parameters
Description
key
Your API key
action
refill_status
refill
Refill ID
{
"status": "Completed"
}
curl example
Create cancel
action = cancel
Parameters
Description
key
Your API key
action
cancel
orders
Order IDs separated by comma (random IDs only; up to 100)
Note: Creates a cancel ticket (visible in admin). An admin decides whether to cancel with the supplier. cancel: 1 means the ticket was accepted—not that the supplier already canceled.