মার্চেন্ট API ইনভেন্টরি পরিচালনার জন্য দুটি নতুন পদ্ধতি প্রবর্তন করে:
list : আপনাকে আপনার পণ্যগুলির জন্য স্থানীয় এবং আঞ্চলিক তালিকা তালিকা করতে দেয়।
delete : আপনাকে আপনার পণ্যগুলির জন্য স্থানীয় এবং আঞ্চলিক ইনভেন্টরি মুছতে দেয়।
এখানে ইনভেন্টরিগুলি পরিচালনা করার জন্য উপলব্ধ পদ্ধতিগুলির একটি তুলনা রয়েছে:
পদ্ধতি
কেনাকাটার জন্য সামগ্রী API
বণিক API
customBatch
হ্যাঁ
না
insert
হ্যাঁ
হ্যাঁ
list
না
হ্যাঁ
delete
না
হ্যাঁ
সম্পদ
স্থানীয় এবং আঞ্চলিক ইনভেনটরিগুলির জন্য কী পরিবর্তন করা হয়েছে তা এখানে:
কেনাকাটার জন্য সামগ্রী API
বণিক API
বর্ণনা
সমর্থিত নয়
name:string
ক্ষেত্রটি একটি product মধ্যে LocalInventory এবং RegionalInventory সংস্থানগুলিকে আলাদা করে। কেনাকাটার জন্য সামগ্রী API storeCode এবং productId দ্বারা স্থানীয় ইনভেন্টরি এবং regionId এবং productId দ্বারা আঞ্চলিক ইনভেন্টরি সনাক্ত করে৷
সমর্থিত নয়
account:string
product এবং LocalInventory যে ব্যবসায়িক কেন্দ্রের অ্যাকাউন্টের অন্তর্ভুক্ত তা সনাক্ত করতে নতুন ক্ষেত্র যোগ করা হয়েছে৷
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-11 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Merchant API allows management of both local (in-store) and regional inventory for products.\u003c/p\u003e\n"],["\u003cp\u003eIt introduces new methods for inventory management like listing and removing local and regional inventory, replacing the Content API for Shopping for these operations.\u003c/p\u003e\n"],["\u003cp\u003eThere are key differences in how local and regional inventory are handled in the Merchant API compared to the Content API, including new fields and data types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field is introduced to uniquely identify inventory resources, and \u003ccode\u003eaccount\u003c/code\u003e is added to link products and inventory to the merchant account.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eprice\u003c/code\u003e, \u003ccode\u003esalePrice\u003c/code\u003e, and \u003ccode\u003esalePriceEffectiveDate\u003c/code\u003e fields have been updated with new data types and structures in the Merchant Inventories API.\u003c/p\u003e\n"]]],["The Merchant API manages local and regional inventory, using the Inventories sub-API. Key actions include listing and removing both local and regional inventories. The API uses `POST` requests with a specific URL format. New fields like `name` and `account` were added for local and regional inventory. The `price` definition has been modified. `salePriceEffectiveDate` now uses the `TimePeriod` type and `quantity` is now an integer. Methods such as `list` and `delete` are now supported. The `customBatch` method is not.\n"],null,[]]