OptionalapiOptional custom API endpoint URL. If provided, this will be used instead of the region-based API URL. Useful for pointing to mock servers during integration tests.
OptionalauthOptional custom authentication endpoint URL. If provided, this will be used instead of the region-based auth URL. Useful for pointing to mock servers during integration tests.
OptionalonIf passed in, will be called once a request has been made and the response received (or error thrown).
OptionalonIf passed in, will be called before sending a request to commercetools. The {@see requestConfig} parameter can be manipulated if you wish to modify/add headers or any other request data.
OptionalretryOptionalstoreOptionalsystemIf provided, will be passed across to commercetools in the 'User-Agent' HTTP header, in order to help commercetools identify the source of incoming requests.
Optionaltimeout
Provides a base configuration definition from which other class specific configurations can be extended.