Create Custom Company Settings - Sellercloud API Docs

Overview

This endpoint can be used to add a new custom company setting to a specific company.

To consume the endpoint, you must:

For information on how you can authenticate, see Authentication.

After you authenticate and receive a valid token, you must pass it to service calls.

Endpoint

An example of this endpoint for XX server is:

For your server, the endpoint will be:

Request

Request Body

One custom company setting has to be provided in the request. The body parameters are used to define the setting’s name, value, and masking.

Parameter Parameter Type Data Type Description Required
id path integer ID of the targeted company. yes
SettingName body string Custom company setting name. yes
SettingValue body string Custom company setting value. Set to “null” if no update is needed. no
MaskValue body boolean Show or hide the setting value. Set to “null” if no update is needed no

The request body should be formatted as follows:

{
  "SettingName": "string",
  "SettingValue": "string",
  "MaskValue": true
}

Response