Skip to Content
API ReferenceGroups

Add products to group

Add existing products to a group.

Add existing products to a group.

POST
/v2/groups/{group}/products/attach

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

group*integer

The group path parameter.

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
resources*array<integer>

Response Body

Successful response.

application/json
  1. response
attached*array<integer>
Example Request
curl -X POST 'https://sell.app/api/v2/groups/0/products/attach' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "resources": [    1  ]}'
{  "attached": [    1  ]}