Skip to main content
POST
/
v1
/
user
/
store
/
{storeId}
/
products
/
{productId}
/
collections
Add Product to Collection
curl --request POST \
  --url https://storekit.samarthh.me/v1/user/store/{storeId}/products/{productId}/collections \
  --header 'Content-Type: application/json' \
  --data '
{
  "collectionId": "collection-uuid-here"
}
'

Headers

Content-Type
string

Path Parameters

storeId
string
required
productId
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response