This endpoint will update some data which is related to a single session.
PUT /sessions/SESSION_ID/
Important Note: This endpoint utilizes the PUT
method to update an existing session.
Payload Structure:
Param Name | Required | Type | Notes |
---|---|---|---|
payment_date |
No | ISO Date String | In UTC |
fulfillment_date |
No | ISO Date String | In UTC |
delivery_date |
No | ISO Date String | In UTC |
metadata |
No | JSON Object | Simple String key: values preferred |
Example Payload:
{
"payment_date": "2019-01-01T12:32:04.012Z",
"fulfillment_date": "2019-01-01T12:32:04.012Z",
"delivery_date": "2019-01-01T12:32:04.012Z",
"metadata": {
"custom key": "customer value",
"another key": "another value"
}
}