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

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

Set cart business

PUT/store/v1/carts/{cart_id}/business

    Ask for a tax invoice in a company's name (business_buyers in GET /checkout/asks). The order's invoices are then standard tax invoices.

    معاملات المسار

    • cart_idstringمطلوب

      معرّف من نوع cart، مثل cart_01k8qs5s….

    الترويسات

    • X-Cart-Tokenstringمطلوب

      The cart's token

    • shop-api-versionYYYY-MM

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

    الجسم

    • legal_namestringمطلوب
    • vat_numberstringمطلوب
    • building_numberstring · أو null
    • postal_codestring · أو null
    • additional_numberstring · أو null
    • streetstring · أو null
    • districtstring · أو null
    • citystring · أو null

    ما يُرجعه

    200 The updated cart.

    الأخطاء

    • 404not_foundNo such cart.
    • 409The store doesn't take business buyers, a payment is in progress, or the cart is completed.
    • 422validation_failedA missing name or VAT number, or details a standard invoice can't use.