Skip to Content
API ReferenceSections

Batch update sections

Update multiple sections in one request by sending a resources object keyed by section ID.

Update multiple sections in one request by sending a resources object keyed by section ID.

PATCH
/v2/sections/batch

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

Idempotency-Key?string

Reuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.

Length8 <= length <= 255
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
resources*

Response Body

Successful response.

application/json
  1. response
data*array<>
Example Request
curl -X PATCH 'https://sell.app/api/v2/sections/batch' \  -H 'Idempotency-Key: project-library-2026-09-04' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "resources": {    "1": {      "title": "Featured",      "hidden": false    }  }}'
{  "data": [    {      "id": 1,      "title": "Featured",      "slug": "dissection",      "hidden": false,      "order": 1,      "created_at": "2022-12-12T12:12:12.000000Z",      "updated_at": "2026-08-30T12:00:01.000000Z",      "store_id": 1,      "groups_linked": 1,      "products_linked": 1,      "groups": [        {          "id": 1,          "title": "Project Planning Toolkit",          "group_products": 1        }      ],      "products": [        {          "id": "1",          "title": "Project Planning Guide",          "description": "Includes practical examples and a downloadable checklist."        }      ]    }  ]}