Skip to main content
PUT
Assign designs to a product

Authorizations

Authorization
string
header
required

A secret key from Print.App admin → Domains → Secret keys, sent as Authorization: Bearer sk_…. Server-side only.

Path Parameters

productId
string
required

The product's id in your store.

Body

application/json

The designs a product opens.

designIds
string[]
required

The designs the product opens, in order. [] leaves only the variants' designs.

Maximum array length: 50
title
string

The product's name, shown in the dashboard. Default: the current one, or the product id.

Required string length: 1 - 200
variants
object[]

Per-variant designs. Variants you leave out open the product's designs.

Maximum array length: 500

Response

OK.

The designs one store product opens.

object
string
required
Allowed value: "product"
id
string
required

The product's id in your store.

title
string | null
required
designIds
string[]
required
variants
object[]
required

Variants with their own designs.

modified
string<date-time> | null
required