Skip to content

updateFavorites.v1

POST
/shopgate.user.updateFavorites.v1

Updates the quantity or the note of a product that is already on a favorite list.

Media typeapplication/json
object
productId
required
productId

The ID of the product

string
<= 255 characters
Example
abc123
favoritesListId
favoritesListId

The ID of the favorite list. Apps without support for multiple favorite lists use the implicit list DEFAULT.

string
Example
1
quantity
favoritesQuantity

The quantity of the product on the list. Only sent when the quantity setting is enabled for the app.

integer
>= 1
Example
2
notes
favoritesNotes

A note the user stored with the product. Only sent when the notes setting is enabled for the app.

string
Example
For the blue one

Returns an empty object.

Media typeapplication/json
object
Examplegenerated
{}

Returns one or multiple error messages.

Media typeapplication/json