لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Update brand
PUT
/ admin/ v1/ stores/ {store_id}/ brand- settings:write
Replace the store's brand. Send If-Match: "v{version}" ("v0" for the first save) to avoid overwriting someone else's changes.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
If-Matchstring · أو nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
logo_idstring · أو nullA file of the store's library.
icon_idstring · أو nullcover_idstring · أو nullcolorstring · أو nullaccent_colorstring · أو nullsloganstring · أو nullOne line, at most 120 characters.
slogan_translationsobject
ما يُرجعه
200 Saved brand.
الأخطاء
- 412
precondition_failedThe brand changed since it was read. - 422
validation_failedValidation failed.