Create storage unit template
POST
/partners/{id}/settings/storage_unit_templates
const url = 'https://example.com/partners/example/settings/storage_unit_templates';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"type":"example","config":[{"sku":"example","size":"NaN"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/partners/example/settings/storage_unit_templates \ --header 'Content-Type: application/json' \ --data '{ "type": "example", "config": [ { "sku": "example", "size": "NaN" } ] }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ” Media type application/json
object
Example
{ "config": [ { "size": "NaN" } ]}