POST:storefront/favorites.json
Storefront APIPOST:storefront/favorites.json

POST:storefront/favorites.json

Description

Add variant to customer's favorites list.

Topic: Customers

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of StorefrontCustomerFavoriteCreate

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

Response Body

Array of StorefrontCustomerFavorite

Response Body Type

Loading module