PUT api/backoffice/seller-settings/{userId}?database={database}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

database

string

None.

Body Parameters

SellerSettingsRequest
NameDescriptionTypeAdditional information
isSeller

boolean

None.

warehouseId

integer

None.

cashAccountId

integer

None.

stockPolicy

string

None.

creditPolicy

string

None.

maxDiscountPercent

decimal number

None.

priceEditable

boolean

None.

creditSalesAllowed

boolean

None.

offlineAllowed

boolean

None.

offlineMaxDays

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "isSeller": true,
  "warehouseId": 1,
  "cashAccountId": 1,
  "stockPolicy": "sample string 1",
  "creditPolicy": "sample string 2",
  "maxDiscountPercent": 1.0,
  "priceEditable": true,
  "creditSalesAllowed": true,
  "offlineAllowed": true,
  "offlineMaxDays": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.