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

List group product items

Returns a paginated list of group product items. Filter by the grouped master product (from_product) or by the member product (to_product).

get
/group_product_items/
Authorizations
AuthorizationstringRequired

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

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
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
from_productintegerOptional

Filter by the identifier of the grouped master product.

to_productintegerOptional

Filter by the identifier of the member (simple) product.

Responses
200

A paginated list of group product items.

application/json

A paginated list of group product items.

countintegerOptional

Total number of group product items.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/group_product_items/
GET /api/v1/remote/1/group_product_items/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 5,
      "from_product": 700,
      "to_product": 341,
      "order": 0,
      "initial_quantity": 2
    }
  ]
}

Last updated

Was this helpful?