Get ingredient sponsored products for a recipe

किसी विशिष्ट रेसिपी की सामग्री से स्पष्ट रूप से जुड़े सभी प्रायोजित उत्पाद प्राप्त करें। किसी एक रेसिपी को लक्षित करके आप तुरंत निर्धारित कर सकते हैं कि उपयोगकर्ता उस विशिष्ट व्यंजन को देखते समय कौन से ब्रांडेड एसकेयू मूल रूप से प्रदर्शित किए जाने चाहिए। सटीक समय पर रिटेल मीडिया प्लेसमेंट के लिए यह एक आदर्श टूल है। उपयोग के मामले: संदर्भ-आधारित उत्पाद प्लेसमेंट • उपयोगकर्ता 'क्लासिक तिरामिसु' रेसिपी देखता है → सामग्री सूची के बगल में 'ब्रांड वाई मस्कारपोन' प्रायोजित सुझाव के रूप में दिखाई देता है। खरीदारी की उच्चतम इच्छा के समय उच्च रूपांतरण। रेस्तरां — आपूर्तिकर्ता साझेदारियाँ • रेस्तरां डिजिटल मेनू में रेसिपी की सामग्री के बगल में आपूर्तिकर्ताओं के उत्पाद दिखाता है। आपूर्तिकर्ताओं से विज्ञापन आय। एक-क्लिक में 'रेसिपी खरीदें' • बैकऑफिस में कॉन्फ़िगर किए गए प्रायोजित एसकेयू से 'सब कुछ कार्ट में जोड़ें' बटन संचालित करें। रेसिपी के अनुरूप लाभदायक कार्ट।

GET
/recipes/{recipeId}/sponsored-products/ingredients
Recipes
कोई क्रेडिट आवश्यक नहीं

प्रतिक्रिया

200
application/json
object[]

IngredientSponsoredProductArray

object[]

IngredientSponsoredProduct

प्रायोजित उत्पाद से जुड़ी रेसिपी सामग्री

object

recipeIngredientId

इस सामग्री प्रविष्टि का विशिष्ट पहचानकर्ता

integer<int32>

recipeId

उस रेसिपी का पहचानकर्ता जिससे यह सामग्री संबंधित है

integer<int32>

name

सामग्री का प्रदर्शन नाम

string

quantity?

उपयोग की गई सामग्री की मात्रा

number<double> | null

measureUnitId?

मात्रा के लिए माप यूनिट पहचानकर्ता; GET /definitions/measure-units के माध्यम से हल किया जा सकता है

integer<int32> | null

unitQuantity

प्रायोजित उत्पाद की यूनिट मात्रा

integer<int32>

priority

इस उत्पाद की सामग्री के लिए अनुशंसा रैंक, जिसमें सबसे कम मान सबसे अच्छा मिलान है और रैंकिंग 1 से शुरू होती है। formatScore के अनुरूप: प्राथमिकता बढ़ने पर स्कोर कभी नहीं बढ़ता और बिना स्कोर वाले उत्पाद अंत में आते हैं। रैंक में मान छूट सकते हैं, क्योंकि अनुरोधित भाषा में डेटा न रखने वाले उत्पादों को response से बाहर रखा जाता है।

integer<int16>

formatScore?

0.01 से 100 तक का format compatibility score: आपके द्वारा खरीदी गई मात्रा का वह प्रतिशत जिसे recipe वास्तव में उपयोग करती है। 100 का अर्थ है कि pack size आवश्यक मात्रा से बिल्कुल मेल खाता है, 50 का अर्थ है कि आप आवश्यकता से दोगुना खरीदते हैं। समान स्कोर वाले उत्पाद format के मामले में समान रूप से compatible होते हैं, इसलिए उनमें से चुनने के लिए priority का उपयोग करें — सिवाय 0.01 के, जहाँ scale saturate हो जाता है और केवल यह बताता है कि pack बहुत बड़ा है। जब compatibility का आकलन नहीं किया जा सकता, तब Null: उत्पाद का weight अज्ञात है, ingredient quantity का gram equivalent नहीं है, जैसे to taste, या association इस field से पहले की है और अभी तक recompute नहीं की गई है। Volumes को 1 ml = 1 g माना जाता है।

number<double> | null

productId

sponsored product का identifier

integer<int32>

shopProductId?

उत्पाद के लिए दुकान-विशिष्ट पहचानकर्ता

string | null

productName

sponsored product का नाम

string

brand

sponsored product का brand

string

ean?

उत्पाद का EAN बारकोड

string | null

format?

उत्पाद का पैकेजिंग फ़ॉर्मैट

string | null

weightGrams?

ग्राम में उत्पाद का वज़न

number<double> | null

imageUrl?

उत्पाद का image URL

string | null
401
application/json
object

अनधिकृत

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

निषिद्ध

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

स्वीकार्य नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

अप्रक्रियायोग्य इकाई

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

बहुत अधिक अनुरोध (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

आंतरिक सर्वर त्रुटि

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

खराब गेटवे (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

गेटवे टाइमआउट (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string