Customers > Customers > favorites
Commerce APICustomersCustomersfavorites
favorites
GET:favorites.json

Description

Get specific favorites of a given shop.

This is a typical bulk get endpoint.

Permission bit: "customer_favorites.read"

Topic: Customers

Arguments

customer_id: String!

Unique customer identifier. See also: Unique Identifiers

Example: "cu_EQzGqWoY"


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"


Result

[CustomerFavorite!]

Preview (typescript)

Loading module