ResourcesSections

List all sections

This endpoint allows you to retrieve a paginated list of all your sections. By default, a maximum of fifteen sections are shown per page.

This endpoint allows you to retrieve a paginated list of all your sections. By default, a maximum of fifteen sections are shown per page.

GET
/v1/sections

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

Query Parameters

limit?integer

Limit the number of blacklist rules returned.

Default15
Range1 <= value <= 100
page?integer

The page number you are attempting to access.

Default1
Range1 <= value

Response Body

application/json

curl -X GET "https://sell.app/api/v1/sections"
{
  "data": [
    {
      "id": 1,
      "title": "Dissection",
      "slug": "dissection",
      "hidden": false,
      "order": 1,
      "created_at": "2022-12-12T12:12:12.000000Z",
      "updated_at": "2022-12-12T12:12:12.000000Z",
      "store_id": 1,
      "groups_linked": 1,
      "products_linked": 1,
      "groups": [
        {
          "id": 1,
          "title": "Rat race",
          "group_products": 1
        }
      ],
      "products": [
        {
          "id": "1",
          "title": "This will make me rich!",
          "description": "I am sure of it, Pinky."
        }
      ]
    }
  ],
  "links": {},
  "meta": {}
}