انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

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 · أو null

    ETag from the last read, e.g. "v3"

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

الجسم

  • country_codestring · أو null
  • legal_name_arstring · أو null
  • legal_name_enstring · أو null
  • vat_numberstring · أو null

    Saudi sellers: 15 digits, first and last digit 3.

  • commercial_registrationstring · أو null

    Saudi sellers: 10 digits.

  • addressobject

    The seller's address; for Saudi sellers, the parts of the National Address.

ما يُرجعه

200 Saved seller details.

الأخطاء

  • 403forbiddenMissing permission.
  • 412precondition_failedThe tax settings changed since they were read.
  • 422validation_failedValidation failed.