Skip to content

Change the name or the free strips of a backing design

PATCH
/api/v1/backing-designs/{key}
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 } ] }'
key
required
Key

Design key, e.g. avery-zweckform-ultragrip.

string
<= 64 characters

Design key, e.g. avery-zweckform-ultragrip.

Media typeapplication/json
BackingDesignPatch

Only the fields the client sends change; the page size of a design is fixed.

object
name
Name
Any of:
string
>= 1 characters <= 200 characters
strips
Strips
Any of:
Array<object>
<= 8 items
StripMm

A free strip on the back of the liner, in mm, in back-side coordinates (R-350-4).

object
h_mm
required
H Mm
number
<= 1000
w_mm
required
W Mm
number
<= 1000
x_mm
required
X Mm
number
<= 1000
y_mm
required
Y Mm
number
<= 1000

Example generated

{
"name": "example",
"strips": [
{
"h_mm": 1,
"w_mm": 1,
"x_mm": 1,
"y_mm": 1
}
]
}

Successful Response

Media typeapplication/json
BackingDesignRead

A backing design: the vendor print on the back of a liner and its free strips.

object
key
required
Key
string
name
required
Name
string
origin
required
Origin
string
Allowed values: seed custom imported
page_size
required
Page Size
string
Allowed values: A4 Letter
strips
required
Strips

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.

Array<object>
StripMm

A free strip on the back of the liner, in mm, in back-side coordinates (R-350-4).

object
h_mm
required
H Mm
number
<= 1000
w_mm
required
W Mm
number
<= 1000
x_mm
required
X Mm
number
<= 1000
y_mm
required
Y Mm
number
<= 1000
types_in_use
required
Types In Use

Sheet types that point to this design.

integer

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).