Enduser: Contact Customer Care

Contact Customer Care

Request

POST https://api.staging.nexway.build/endusers/public/customercare

Request body

The request body takes a complete CustomerCare resource, containing the following writable properties:

{
    "email": "string",
    "firstName": "string",
    "ip": "string",
    "lastName": "string",
    "locale": "string",
    "message": "string",
    "orderId": "string",
    "storeId": "string",
    "subject": "string",
    "to": "string",
    "urlShoppingCart": "string"
}

Properties

Name Type Description Additional
email string

Enduser email

firstName string

Enduser first name

ip string

Ip of the end user

lastName string

Enduser last name

locale string

Locale of the end user

message string

Enduser message

orderId string

Order id

storeId string

Store id

subject string

The reason of the request

to string

the customer care mailbox

urlShoppingCart string

the url of your web cart

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
201 Created

Success

400 Bad Request

Bad request

401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not Found

409 Conflict

Conflict

500 Internal Server Error

Failure

503 Service Unavailable

Service not available

Example

{
    "email": "test@gmail.com",
    "firstName": "john",
    "ip": "192.168.1.2",
    "lastName": "Doe",
    "locale": "fr-FR",
    "message": "Hello, i can't activate my product ...",
    "orderId": "45fe46fez11",
    "storeId": "a0253398-b0c5-4c2d-a15f-bd97ea4be608",
    "subject": "Product Activation",
    "to": "customercare@nexway.com",
    "urlShoppingCart": "myshoppingcart.nexway.com"
}

Explore this API

customerCare

customerCare

Request Content-Type
Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!