Change the name or the free strips of a backing design
const url = 'https://example.com/api/v1/backing-designs/example';const options = { method: 'PATCH', headers: {'X-Label-Hub-Key': '<X-Label-Hub-Key>', 'Content-Type': 'application/json'}, body: '{"name":"example","strips":[{"h_mm":1,"w_mm":1,"x_mm":1,"y_mm":1}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/api/v1/backing-designs/example \ --header 'Content-Type: application/json' \ --header 'X-Label-Hub-Key: <X-Label-Hub-Key>' \ --data '{ "name": "example", "strips": [ { "h_mm": 1, "w_mm": 1, "x_mm": 1, "y_mm": 1 } ] }'Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“Design key, e.g. avery-zweckform-ultragrip.
Design key, e.g. avery-zweckform-ultragrip.
Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“Only the fields the client sends change; the page size of a design is fixed.
object
A free strip on the back of the liner, in mm, in back-side coordinates (R-350-4).
object
Example generated
{ "name": "example", "strips": [ { "h_mm": 1, "w_mm": 1, "x_mm": 1, "y_mm": 1 } ]}Responses
Abschnitt betitelt „Responses“Successful Response
A backing design: the vendor print on the back of a liner and its free strips.
object
Free strips on the back of the liner in mm, viewed on the liner with the sheet’s top at the top after turning it over along the long edge.
A free strip on the back of the liner, in mm, in back-side coordinates (R-350-4).
object
Sheet types that point to this design.
Example
{ "origin": "seed", "page_size": "A4"}Backing design not found.
Invalid request: a strip is smaller than 1 mm or reaches outside the page (invalid_geometry, error_detail.field names it, e.g. strips.0).