لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
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 · أو nullorder_numberstring · أو nullThe order the message is about, as the shopper typed it.
page_pathstring · أو nullThe storefront page it was sent from (a path).
localestring · أو nullThe storefront language (BCP 47).
websitestring · أو nullLeave empty: a hidden field only bots fill.
ما يُرجعه
204 Sent.
الأخطاء
- 422
validation_failedA missing or invalid field, named. - 429
rate_limitedToo many messages; try again later.