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

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

Send message

POST/store/v1/contact
  • يدعم Idempotency-Key

Sends the store a message from its contact form. The store's staff get it by email and in the admin's inbox; answers go to the email given.

الترويسات

  • Idempotency-Keystring

    أرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.

  • shop-api-versionYYYY-MM

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

الجسم

  • namestringمطلوب
  • emailstringمطلوب
  • bodystringمطلوب

    Up to 5,000 characters.

  • phonestring · أو null
  • order_numberstring · أو null

    The order the message is about, as the shopper typed it.

  • page_pathstring · أو null

    The storefront page it was sent from (a path).

  • localestring · أو null

    The storefront language (BCP 47).

  • websitestring · أو null

    Leave empty: a hidden field only bots fill.

ما يُرجعه

204 Sent.

الأخطاء

  • 422validation_failedA missing or invalid field, named.
  • 429rate_limitedToo many messages; try again later.