Skip to Content
API ReferenceGroups

List all products within group

List the products in a group, 15 per page by default.

List the products in a group, 15 per page by default.

GET
/v2/groups/{group}/products

List the products in a group, 15 per page by default. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

group*integer

The group path parameter.

Query Parameters

limit?integer

Number of items to return per page.

Range1 <= value <= 100
Default15
page?integer

Page number to return.

Range1 <= value
Default1

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X GET 'https://sell.app/api/v2/groups/1/products' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "id": 1,      "title": "Project Planning Guide",      "slug": "serial",      "description": "<p>I am sure of it, Pinky.</p>",      "images": [],      "order": 1,      "visibility": "PUBLIC",      "delivery_text": "",      "additional_information": [],      "warranty": {        "text": "",        "time": null,        "preferredUnit": "MINUTES"      },      "other_settings": {        "faq": [],        "video_url": "",        "redirect_url": "",        "product_title": "",        "product_description": ""      },      "deleted_at": null,      "created_at": "2022-12-12T12:12:12.000000Z",      "updated_at": "2022-12-12T12:12:12.000000Z",      "store_id": 1,      "category_id": null,      "section_id": null,      "section_order": null,      "is_discoverable": true,      "pivot": {        "group_id": 1,        "listing_id": 1,        "order": 1      },      "default_price": {        "price": "500",        "currency": "USD"      }    }  ],  "links": {    "first": "https://sell.app/api/v2/groups/1/products?page=1",    "last": "https://sell.app/api/v2/groups/1/products?page=1",    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "from": 1,    "last_page": 1,    "path": "https://sell.app/api/v2/groups/1/products",    "per_page": 15,    "to": 1,    "total": 1,    "links": [      {        "url": null,        "label": "&laquo; Previous",        "active": false      },      {        "url": "https://sell.app/api/v2/groups/1/products?page=1",        "label": "1",        "active": true      },      {        "url": null,        "label": "Next &raquo;",        "active": false      }    ]  }}
PUT
/v2/groups/{group}/products

Replace a group's complete product membership in one transaction. Requires the group API-key ability and store group permission. The order of product_ids becomes display order. An empty array clears the group. Missing or draft products return 422; products from another store are rejected. Retrying the same list has the same result. Private products remain assigned but are omitted from the returned group summary. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

group*integer

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
product_ids*array<integer>

Ordered IDs of published standard products in this store. Supply an empty array to remove every product. Missing, draft, or foreign products are rejected.

Itemsitems <= 100

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/groups/42/products' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "product_ids": [    120,    121  ]}'
{  "data": {    "id": 1,    "title": "Project Planning Toolkit",    "order": 1,    "image": null,    "unlisted": false,    "created_at": "2022-12-12T12:12:12.000000Z",    "updated_at": "2022-12-12T12:12:12.000000Z",    "store_id": 1,    "section_id": null,    "section_order": null,    "products_linked": 1,    "products": [      {        "id": "1",        "title": "Project Planning Guide",        "description": "Includes practical examples and a downloadable checklist."      }    ]  }}