...
When sending your data, add an new header (swConfigurationName) to specify which configuration you want to be useduse.
Code Block |
---|
POST {root_url}/vcloud/v1/stores/{storeId}/items Headers: swConfigurationName: MENDY Content-Type: application/json Ocp-Apim-Subscription-Key: •••••••••••••••••••••••••••••••• [ { "ID": "1245", "SKU": "ABCDE" } ] |
...
Please note the following behaviour behavior with this new header:
↓ sent header \ Studio configurations→ | None | One | Many |
---|---|---|---|
null or missing | process as usual | process as usual | process as usual |
default | process as usual | Use this configuration | Fail (data is ignored) |
Known value (from the list of configurations) | n/a | Use this configuration | Use the specified one |
Unknown value | fail | fail | fail |
...