An API connection context.
| Property | Type | Description |
|---|---|---|
| language | string | The language set for the context. |
| webshop | integer | The webshop set for the context. |
| user | integer | Administrator user uid. |
| isAdmin | boolean | Whether the user in the context is an admin. |
| session | string | Customer session token. |
Get the current context.
| Parameter | Description |
|---|---|
| query | Which info to return. See Query language. |
Fetches the JSON Schema which can be used for client-side validation.
Set the current context.
| Parameter | Description |
|---|---|
| patch | An object containing the properties and values to set for the context. |
| query | Which info to return. See Query language. |