Skip to main content

Create a stock supplier

Create a new stock supplier (required scope stock:write)

Path Parameters
    stockDetailsId int64 required
Header Parameters
    Customer-Id int64 required

    The customer identifier

Request Body required
    contactId int64 required

    The unique identifier of the contact that supplies the stock

    warrantyPeriod int32 nullable

    The warranty period refers to the duration (in months) for which the stock supplier guarantees the inventory's quality and performance

    cost double nullable

    The cost refers to the amount charged by the stock supplier for each unit of inventory. If CurrencyCode is not null, this field is required

    currencyCode CurrencyWrite

    Possible values: [eur, aud, gbp, bgn, cad, czk, dkk, huf, ils, lvl, ltl, mxn, nzd, nok, pln, ron, rub, zar, sek, chf, aed, usd]

    Currency definitions enum, matches currencies available in the BigChange Client Site

    Possible values:

    • eur: Euro
    • aud: Australian Dollar
    • gbp: Pound Sterling
    • bgn: Bulgarian Lev
    • cad: Canadian Dollar
    • czk: Czech Koruna
    • dkk: Danish Krone
    • huf: Forint
    • ils: New Israeli Sheqel
    • lvl: Latvian Lats - replaced by Euro
    • ltl: Lithuanian Litas - replaced by Euro
    • mxn: Mexican Peso
    • nzd: New Zealand Dollar
    • nok: Norwegian Krone
    • pln: Zloty
    • ron: Romanian Leu
    • rub: Russian Ruble
    • zar: Rand
    • sek: Swedish Krona
    • chf: Swiss Franc
    • aed: UAE Dirham
    • usd: US Dollar

Responses

Created


Schema
    id int64

    Identifier of the newly created record

Loading...