Update a contact us subject
Fully updates a contact us subject. text is required; is_order_needed and recipients keep their stored values when left out of a JSON request.
Outside the default language, text is written only as the translation for the request language (see Translations and IGNORE_ACCEPT_LANGUAGE_HEADER in the section description).
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the contact us subject.
Request body for fully updating a contact us subject. Fields other than text keep their stored values when left out.
The subject label, written in the request language (see Translations in the section description).
Order StatusWhether the storefront contact form requires an order to be selected for this subject.
trueThe addresses messages sent with this subject are e-mailed to. Send null to use CONTACT_US_EMAIL_TO instead; an empty list is rejected with 400.
["support@example.com"]The updated contact us subject.
A contact us subject offered on the storefront contact form.
The unique identifier of the subject.
1The subject label, in the request language (falls back to the default language when no translation exists).
Order StatusWhether the storefront contact form requires an order to be selected for this subject.
trueThe addresses messages sent with this subject are e-mailed to. When null, the storefront uses CONTACT_US_EMAIL_TO.
["support@example.com"]The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested contact us subject does not exist.
PUT /api/v1/remote/1/contact-us-subjects/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"text": "Order Status",
"is_order_needed": true,
"recipients": [
"support@example.com"
]
}{
"pk": 1,
"text": "Order Status",
"is_order_needed": true,
"recipients": [
"support@example.com"
]
}Last updated
Was this helpful?

