Session Endpoints

This document showcases all the available endpoints for session data.

Update Session Data

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"
  }
}

Still need help? Contact Us Contact Us