Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a contact us subject

Returns a single contact us subject. text is returned in the request language, falling back to the default language (see Translations in the section description).

get
/contact-us-subjects/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the contact us subject.

Responses
200

The requested contact us subject.

application/json

A contact us subject offered on the storefront contact form.

pkintegerRead-onlyOptional

The unique identifier of the subject.

Example: 1
textstring · max: 60Optional

The subject label, in the request language (falls back to the default language when no translation exists).

Example: Order Status
is_order_neededbooleanOptional

Whether the storefront contact form requires an order to be selected for this subject.

Example: true
recipientsstring · email[] · nullableOptional

The addresses messages sent with this subject are e-mailed to. When null, the storefront uses CONTACT_US_EMAIL_TO.

Example: ["support@example.com"]
get/contact-us-subjects/{id}/
GET /api/v1/remote/1/contact-us-subjects/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1,
  "text": "Order Status",
  "is_order_needed": true,
  "recipients": [
    "support@example.com"
  ]
}

Last updated

Was this helpful?