Collections

Authenticated customer collections

List customer collections

get

Returns the authenticated shopper's collections with nested items.

Query parameters
pageinteger · min: 1Optional

Page number (1-indexed)

Example: 1
page_sizeinteger · min: 1Optional

Number of results per page

Example: 20
product_idintegerOptional

Filter collections that include the specified product

Example: 123456
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Responses
chevron-right
200

Collections listed

application/json
get
/wishlists/user-collections/

Create a new collection

post

Creates a named collection owned by the authenticated shopper.

Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Body
namestring · max: 255Required

Human readable collection name

Example: Summer Essentials
statusstring · enumOptional

Collection visibility

Example: privatePossible values:
Responses
post
/wishlists/user-collections/

Retrieve collection

get
Path parameters
pkintegerRequired

Collection identifier

Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Responses
chevron-right
200

Collection detail

application/json
get
/wishlists/user-collections/{pk}/

Replace collection

put
Path parameters
pkintegerRequired
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Body
namestring · max: 255OptionalExample: Updated Collection Name
statusstring · enumOptional

Collection visibility

Example: privatePossible values:
Responses
chevron-right
200

Collection updated

application/json
put
/wishlists/user-collections/{pk}/

Delete collection

delete
Path parameters
pkintegerRequired
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Responses
delete
/wishlists/user-collections/{pk}/

No content

Partially update collection

patch
Path parameters
pkintegerRequired
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Body
namestring · max: 255OptionalExample: Updated Collection Name
statusstring · enumOptional

Collection visibility

Example: privatePossible values:
Responses
chevron-right
200

Collection updated

application/json
patch
/wishlists/user-collections/{pk}/

Add product to collection

post

Appends a product to the specified collection.

Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Body
usercollection_idintegerRequired

Owning collection identifier

Example: 12
product_idintegerRequired

Product identifier to add

Example: 221133
notestring · max: 255Optional

Optional shopper note

Example: Gift idea for Mom
Responses
post
/wishlists/user-collection-items/

Replace collection item

put
Path parameters
pkintegerRequired
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Body
notestring · max: 255Required

Updated note text

Example: Purchased during summer sale
Responses
chevron-right
200

Item updated

application/json
put
/wishlists/user-collection-items/{pk}/

Remove collection item

delete
Path parameters
pkintegerRequired
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Responses
delete
/wishlists/user-collection-items/{pk}/

No content

Partially update collection item

patch
Path parameters
pkintegerRequired
Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Body
notestring · max: 255Required

Updated note text

Example: Purchased during summer sale
Responses
chevron-right
200

Item updated

application/json
patch
/wishlists/user-collection-items/{pk}/

Last updated

Was this helpful?