Customers > Customers > storefrontFavoritesModify
Storefront APICustomersCustomersstorefrontFavoritesModify
storefrontFavoritesModify
POST:storefront/favorites.json

Description

Modify customer's favorite item.

Topic: Customers

Arguments

data: [StorefrontCustomerFavoriteModify!]!

Main argument for mutations.


ids: [String!]!

List of favorite ids. See also: Unique Identifiers

Example: ["fv_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

inventory_notification: Boolean

Whether inventory notifications are enabled

Example: true


price_notification: Boolean

Whether price notifications are enabled

Example: false


Result

[StorefrontCustomerFavorite!]

Preview (typescript)

Loading module