For the complete documentation index, see llms.txt. This page is also available as Markdown.

List retail store groups

Returns the retail store groups. All matching groups are returned in a single page (see Pagination in the section description). No default ordering is applied; use sort to order the results.

get
/retailstoregroups/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
namestringOptional

Filter by name. Exact, case-sensitive match.

Responses
200

The retail store groups.

application/json

A list of retail store groups. This endpoint returns all matching groups in a single page, so next and previous are always null.

countintegerOptional

Total number of groups matching the request.

nextstring · nullableOptional

Always null — the endpoint is not paginated.

previousstring · nullableOptional

Always null — the endpoint is not paginated.

get/retailstoregroups/
GET /api/v1/remote/1/retailstoregroups/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 1,
      "is_active": true,
      "name": "Istanbul Stores",
      "stores": [
        1,
        133
      ],
      "slug": "istanbul-stores",
      "schedules": []
    }
  ]
}

Last updated

Was this helpful?