User Support & Conversation
GET
Contact Us Subjects
GET
Contact Us SubjectsLists the selectable subjects for the Contact Us form. Each subject is displayed with its ID, content, and order_needed information.
Path: /users/contact-us-subjects/
Authentication Required: No
Headers:
Example Request
Example Response (200 OK)
Response Parameters
id
Integer
The unique ID of the contact subject.
text
String
The localized text or name of the subject.
is_order_needed
Boolean
Indicates if order information is required.
POST
Contact Us
POST
Contact UsThis endpoint allows users to send messages to the relevant shop, expressing their wishes, suggestions, or complaints. The message can include optional details like an order reference or an attachment.
Path: /users/contact-us/
Authentication Required: No
Headers:
Body Parameters
subject
int
True
The ID of the subject (as obtained from the GET /users/contact-us-subjects/
endpoint).
full_name
string
True
The full name of the user (maximum 70 characters).
string
True
The user's email address.
phone
string
False
The user's phone number (maximum 70 characters).
message
string
True
The content of the user's message or reason for contact.
file
file
False
An optional file attachment. Supported formats: .pdf, .jpg, .jpeg, .png, .xls, .xlsx, .doc, .docx.
order
int
False
The order ID associated with the user's inquiry (if applicable).
operation
string
False
Specifies the key used to determine the recipient email address in the CONTACT_US_EMAIL_TO
dynamic setting. The operation
field can take values such as "franchise"
or "contact_us"
, and the corresponding email address will be used as the recipient.
Request Body
Example Request
Example Response (200 OK)
No content is returned for a successful submission.
GET
List User Conversations
GET
List User ConversationsThis endpoint retrieves a paginated list of conversations associated with the authenticated user. Conversations include details about the type, associated item, user, and the relevant datasource.
Path: /users/conversations/
Authentication Required: Yes
Headers:
Example Request
Example Response (200 OK)
GET
Retrieve User Conversation
GET
Retrieve User ConversationThis endpoint retrieves detailed information about a specific conversation associated with the authenticated user. The conversation details include the type of conversation, the related item (e.g., product or order), user information, and relevant datasource details.
Path: /users/conversations/<id>/
Authentication Required: Yes
Headers:
Example Request
Example Response (200 OK)
POST
Create User Conversation
POST
Create User ConversationThis endpoint allows the creation of a new conversation for the authenticated user. The request body must include essential details such as the conversation type, associated item, user ID, and relevant datasource.
Path: /users/conversations/
Authentication Required: Yes
Headers:
Body Parameters
conversation_type
Enum
True
Values: “message”, “question”, “review”
user
Integer
True
The user ID associated with the conversation.
user_type
Enum
True
The type of the user associated with the conversation. Values: “guest”, “registered”
message_content
String
True
The content of the conversation message.
datasource
Integer
True
The vendor ID associated with the conversation.
content_type
Enum
True
The model associated with the message in the conversation. Values: “user”, “datasource”. The 'user' value must be provided.
is_public
Boolean
False
Determines the visibility of the conversation for everyone
content_id
Integer
True
The user ID value must be provided.
subject
String
False
Defines the conversation subject.
conversation
Integer
False
If a message is to be sent to an existing conversation, the relevant conversation ID must be provided.
item_content
Enum
False
If the conversation is related to a product or order item, it must be provided. Values: “product”, “orderitem”
item_id
Integer
False
The ID of the selected product or order item in the item_content.
Request Body
Example Request
Example Response (201 Created)
Example Response (400 Bad Request)
Last updated
Was this helpful?