لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Translate metafields
PUT
/ admin/ v1/ stores/ {store_id}/ metafields/ translationsSet and clear text fields' words in one of the store's other languages, by namespace.key. Only text fields with a value take words. Requires the permission that edits the owner.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
owner_typeenumمطلوبWhat a metafield belongs to.
- product
- variant
- collection
- customer
- order
- store
localestringمطلوبvaluesobjectمطلوبowner_idstring · أو nullLeft out for the store.
ما يُرجعه
200 The owner's metafields after the change.
الأخطاء
- 403
forbiddenMissing the owner's write permission. - 404
not_foundNo such owner. - 422
validation_failedNot a language code, the store's own language, a field that isn't text or has no value, or words that don't fit; seeerrors[].field.