Skip to main content
POST
Add products to a category

Authorizations

x-spree-api-key
string
header
required

Secret API key for admin access

Authorization
string
header
required

JWT token for admin user authentication

Headers

x-spree-api-key
string
required
Authorization
string
required

Bearer token for admin authentication

Path Parameters

category_id
string
required

Category ID

Body

application/json
product_ids
string[]
required

Products from other stores, or ones the caller cannot see, are ignored.

Example:

Response

201 - application/json

products added