Get ingredient sponsored products for a recipe

Pobierz wszystkie sponsorowane produkty explicité powiązane ze składnikami konkretnego przepisu. Kierując się jednym przepisem, możesz natychmiast określić, które markowe produkty SKU powinny być naturalnie umieszczone podczas przeglądania przez użytkownika tego konkretnego dania. Idealne narzędzie do precyzyjnie zaplanowanych lokacji reklamowych w handlu detalicznym. Przykłady zastosowania: KONTEKSTOWE UMIEJSCOWIENIE PRODUKTÓW • Użytkownik przegląda przepis na 'Klasyczne Tiramisu' → 'Mascarpone marki Y' pojawia się obok listy składników jako sponsorowana sugestia. Wysoka konwersja w momencie największej chęci zakupu. RESTAURACJE — PARTNERSTWA Z DOSTAWCAMI • Restauracja wyświetla produkty dostawców obok składników przepisów w menu cyfrowym. Przychody z reklam od dostawców. ZAKUP 'ZA JEDNYM KLIKNIĘCIEM' • Umożliwienie przycisku 'Dodaj wszystko do koszyka' za pomocą sponsorowanych produktów SKU skonfigurowanych w zapleczu. Dochodowy koszyk dostosowany do przepisu.

GET
/recipes/{recipeId}/sponsored-products/ingredients
Recipes
Kredyty nie są wymagane

Odpowiedź

200
application/json
object[]

IngredientSponsoredProductArray

object[]

IngredientSponsoredProduct

Składnik przepisu powiązany ze sponsorowanym produktem

object

recipeIngredientId

Unikalny identyfikator dla tego składnika

integer<int32>

recipeId

Identyfikator przepisu, do którego należy ten składnik

integer<int32>

name

Wyświetl nazwę składnika

string

quantity?

Ilość użytego składnika

number<double> | null

measureUnitId?

Identyfikator jednostki miary dla ilości; można go rozwiązać za pomocą GET /definitions/measure-units

integer<int32> | null

unitQuantity

Ilość jednostek produktu sponsorowanego

integer<int32>

priority

Priorytet tego skojarzenia produktu z składnikiem

integer<int16>

productId

Identyfikator sponsoryzowanego produktu

integer<int32>

shopProductId?

Identyfikator produktu przypisany do sklepu

string | null

productName

Nazwa sponsorowanego produktu

string

brand

Marka sponsorowanego produktu

string

ean?

Kod kreskowy EAN produktu

string | null

format?

Format opakowania produktu

string | null

weightGrams?

Waga produktu w gramach

number<double> | null

imageUrl?

Adres URL obrazu produktu

string | null
401
application/json
object

Nieautoryzowany

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

Zabronione

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

Nieakceptowalne

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

Nieprzetwarzalny podmiot

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

Zbyt wiele żądań (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

Błąd wewnętrzny serwera

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

Zła Brama (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

Przekroczenie limitu czasu bramy (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string