POST:favorites.json
Commerce APIPOST:favorites.json

POST:favorites.json

Description

Modify customer's favorite item.

Permission bit: "customer_favorites.modify"

Topic: Customers

Query Parameters

customer_id: String, required

Unique customer identifier. See also: Unique Identifiers

Example: ?customer_id=cu_EQzGqWoY


ids: Comma-separated array of String, required

List of favorite ids. See also: Unique Identifiers

Example: ?ids=fv_EQzGqWoY,fv_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of CustomerFavoriteModify

[
  {
    "inventory_notification": true,
    "price_notification": false
  }
]

Response Body

Array of CustomerFavorite

Response Body Type

Loading module