Customers > Customers > favoritesModify
POST:favorites.json
Description
Modify customer's favorite item.
Permission bit: "customer_favorites.modify"
Topic: Customers
Arguments
Unique customer identifier. See also: Unique Identifiers
Example: "cu_EQzGqWoY"
data: [CustomerFavoriteModify!]!
Main argument for mutations.
List of favorite ids. See also: Unique Identifiers
Example: ["fv_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
inventory_notification: Boolean
Whether inventory notifications are enabled
Example: true
Whether price notifications are enabled
Example: false
Result
Preview (typescript)
Loading module