The Wherehouse Public API is in BETA. Please contact us should you wish to build a feature rich integration dev@wherehouse.co.za.
code on the JSON body, not in the URL, so values like BLUE+RED5 are not mangled.400 validation_error. Fields you leave out keep their current values.PUT /products/{code} whenever the SKU contains +, spaces, or other reserved characters.code within a catalogue.| API key reaches | What to send | If you omit it |
|---|---|---|
| One catalogue | Nothing, it is inferred | Fine |
| More than one catalogue | catalogue_uid | 400 catalogue_required |
catalogue_id still works as a fallback. A uid the key cannot reach returns 404 catalogue_not_found.code identifies the product and cannot be renamed here. A product cannot be moved between catalogues. id, created_at and updated_at are ignored. Unknown field names are ignored.{
"catalogue_uid": "demo-catalogue",
"code": "BLUE+RED5",
"soh": 12,
"retail_price": 199.99
}