Update a stock details
Update the details of a single stock details (required scope stock:write)
Path Parameters
Header Parameters
The customer identifier
Request Body
- 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
The unique identifier of the product category associated to this stock details
Optional: Omit to retain current value
The model name of the stock details
Optional: Omit to retain current value
The manufacturer or brand of the stock
Optional: Omit to retain current value or provide null to unset
The selling price of the stock. Cannot set to null if CurrencyCode is set
Optional: Omit to retain current value or provide null to unset
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:
The department code of the stock
Optional: Omit to retain current value or provide null to unset
The nominal code associated with the stock for accounting purposes
Optional: Omit to retain current value or provide null to unset
Notes associated with the stock
Optional: Omit to retain current value or provide null to unset
The unique number assigned by the manufacturer to identify the model of the stock
Optional: Omit to retain current value or provide null to unset
The unique number or barcode assigned to each individual stock for identification and tracking
Optional: Omit to retain current value or provide null to unset
The batch number of the stock
Optional: Omit to retain current value or provide null to unset
The dimensions or volume of the stock (m3)
Optional: Omit to retain current value or provide null to unset
The weight of the stock (kg)
Optional: Omit to retain current value or provide null to unset
The identifier of the tax (vat) associated with the stock. If null, the user's default tax rate will be applied
Optional: Omit to retain current value or provide null to unset
- 204
- 400
- 403
- 404
- 422
- 500
No Content
Bad Request
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Forbidden
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Not Found
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Client Error
Schema
- Array [
- ]
errors object
property name* string[]
string
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"errors": {},
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Server Error
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}