get
https://{url}/core/v1/partner/organizations
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Query
name— optional, case-insensitive substring of the organization name.tag— optional, exact organization tag name of the partner, case-insensitive.page— starts at 1. Organizations are ordered by name.per_page— optional, 1-500, default 500. Any other value returns 422 with{ "error": "..." }.
To find a customer by name, filter with name. Do not page through all organizations.
Success
200 OK — the organizations visible to the partner, with the partner's tags and the coupons reaching each.
{
"data": [
{
"id": "....-03cfda750cfa",
"name": "Acme Corp",
"store_visible": true,
"tags": [{ "id": "....-d75e0abec7d2", "name": "Gold", "note": "Renewed in May" }],
"coupons": [
{ "id": "....-a1", "name": "Gold 10", "status": "active", "source": "tag" },
{ "id": "....-b2", "name": "Spring", "status": "expired", "source": "code" }
]
}
],
"page_info": { "has_next": false, "total_count": 1 }
}store_visible— whether the organization sees the partner's store: a tag coupon discounts the customer only whenstore_visibleis true.coupons—source: tagfor a coupon of one of the organization's tags,source: codefor one the organization redeemed by code; a coupon reached both ways is listed once, ascode.statusisactive,scheduled,expiredorinactive. Empty whenstore_visibleis false or store coupons are not enabled for the partner.
