Skip to main content
PATCH
Spree Admin SDK

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

collection_id
string
required

Collection ID

id
string
required

Product ID

Body

application/json
new_position
integer
required

0-based index among the parent's products.

Example:

0

Response

204

product repositioned