ResourcesGroups

Add products to group

This endpoint allows you to add products to an existing group. See the code examples for how to add products to an existing group with the SellApp API.

This endpoint allows you to add products to an existing group. See the code examples for how to add products to an existing group with the SellApp API.

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

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

Path Parameters

group*integer

The group path parameter.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

resources*array<integer>

Response Body

application/json

curl -X POST "https://sell.app/api/v2/groups/0/products/attach" \  -H "Content-Type: application/json" \  -d '{    "resources": [      1    ]  }'
{
  "attached": [
    1
  ]
}