githubEdit

8.12 Support Management

These endpoints enables all customer support services to be managed.

get

Fetch a support session

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Responses
chevron-right
default

Successful closure of a chat session

application/json

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
get
/support/{orderId}
default

Successful closure of a chat session

post

Generate a support request for an order

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Responses
chevron-right
default

Successful closure of a chat session

application/json

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
post
/support/{orderId}
default

Successful closure of a chat session

put

Update a chat session

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Responses
chevron-right
default

Successful closure of a chat session

application/json

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
put
/support/{orderId}
default

Successful closure of a chat session

delete

Close a chat session

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Responses
chevron-right
default

Successful closure of a chat session

application/json

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
delete
/support/{orderId}
default

Successful closure of a chat session

get

Fetch the agent to a support session

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Responses
chevron-right
default

Successful closure of a chat session

application/json

Describes the direct performer, driver or executor that fulfills an order. It is usually a person. But in some rare cases, it could be a non-living entity like a drone, or a bot. Some examples of agents are Doctor in the healthcare sector, a driver in the mobility sector, or a delivery person in the logistics sector. This object can be set at any stage of the order lifecycle. This can be set at the discovery stage when the Provider Platform wants to provide details on the agent fulfilling the order, like in healthcare, where the doctor's name appears during search. This object can also used to search for a particular person that the customer wants fulfilling an order. Sometimes, this object gets instantiated after the order is confirmed, like in the case of on-demand taxis, where the driver is assigned after the user confirms the ride.

idstringOptional
ratingstringOptional

Rating value given to the object. This can be a single value or can also contain an inequality operator like gt, gte, lt, lte. This can also contain an inequality expression containing logical operators like && and ||.

get
/support/{orderId}/agent
default

Successful closure of a chat session

put

Update agent for a support request

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Body

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
Responses
chevron-right
default

Successful closure of a chat session

application/json

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
put
/support/{orderId}/agent
default

Successful closure of a chat session

delete

Remove an agent from a support request

Path parameters
orderIdstringRequired

Human-readable ID of the order. This is generated at the Provider Platform layer. The Provider Platform can either generate order id within its system or forward the order ID created at the provider level.

Responses
chevron-right
default

Successful closure of a chat session

application/json

Details of customer support

order_idstringOptional
callback_phonestring · phoneOptional
delete
/support/{orderId}/agent
default

Successful closure of a chat session

Last updated

Was this helpful?