# Context

An API connection context.

# Properties

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.

# Methods

# get

Get the current context.

# Parameters

Parameter Description
query Which info to return. See Query language.

# getSchema

Fetches the JSON Schema which can be used for client-side validation.

# set

Set the current context.

# Parameters

Parameter Description
patch An object containing the properties and values to set for the context.
query Which info to return. See Query language.