لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Update tax seller profile
PUT
/ admin/ v1/ stores/ {store_id}/ taxes/ seller-profile- settings:write
Replace the seller details printed on invoices, VAT number included. They share the tax settings' version: send If-Match: "v{version}".
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
If-Matchstring · أو nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
country_codestring · أو nulllegal_name_arstring · أو nulllegal_name_enstring · أو nullvat_numberstring · أو nullSaudi sellers: 15 digits, first and last digit 3.
commercial_registrationstring · أو nullSaudi sellers: 10 digits.
addressobjectThe seller's address; for Saudi sellers, the parts of the National Address.
ما يُرجعه
200 Saved seller details.
الأخطاء
- 403
forbiddenMissing permission. - 412
precondition_failedThe tax settings changed since they were read. - 422
validation_failedValidation failed.