ContactUs
Submit a contact us inquiry
Submits a contact-us inquiry. Public endpoint. name, email and message are required; contact (phone) is optional.
post/contact-us
Request
- Base URLhttp://localhost:8000/api/shop
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-STOREFRONT-KEYstring required
Storefront API Key for authentication. Required for all shop/storefront API requests.
X-Localestring
Example:en
Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.
X-Channelstring
Example:default
Channel code (e.g. "default"). Defaults to the current channel.
X-Currencystring
Example:USD
Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.
Request body
Example request
{
"name": "John Doe",
"email": "john@example.com",
"contact": "+1234567890",
"message": "I have a question about your products"
}Response
Inquiry submitted.
Changes
No recorded changes to this operation across all 13 revisions of this API.