A valid request URL is required to generate request examples{
"version": "<string>",
"cards": [
{
"handle": "<string>",
"index": 123,
"span_rows": 123,
"span_columns": 123,
"aspect_ratio": 123,
"content": {
"type": "image",
"gid": "<string>",
"filename": "<string>",
"alt_text": "<string>"
},
"metaobject_id": "<string>",
"clicks_id": 123,
"visibility": "desktop",
"hover_image": {
"type": "image",
"gid": "<string>",
"filename": "<string>",
"alt_text": "<string>"
},
"text": {
"header": {
"html_tag": "<string>",
"color_hex": "<string>",
"bold": true,
"italic": true,
"underline": true,
"text": "<string>",
"translations": {}
},
"body": {
"html_tag": "<string>",
"color_hex": "<string>",
"bold": true,
"italic": true,
"underline": true,
"text": "<string>",
"translations": {}
},
"horizontal_alignment": "start",
"vertical_alignment": "start",
"background_overlay": "<string>",
"overlay_style": "solid",
"text_shadow": true,
"gap": "<string>"
},
"link": {
"type": "collection",
"gid": "<string>",
"handle": "<string>",
"url": "<string>",
"article_handle": "<string>",
"name": "<string>"
},
"image_url": "<string>",
"hover_image_url": "<string>"
}
],
"reread_failed": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Add, change or remove some of a collection version's content cards
Merges changes into one collection version’s content cards: cards the body does not name are left exactly as they are. Read the cards first with GET /brand-features/{collection_id}, then send each card you change whole, as GET returned it with only your change applied: a field left out is cleared. A handle of this version’s cards updates that card in place; a card without a handle is created and placed first. A handle that belongs to a card outside this collection version is refused (409). delete_handles removes cards from this version. Versions of a collection can share a card, so an update shows in every version that lists it. Send one PATCH at a time per collection: a PATCH that races another is refused (409) and must be retried from a fresh GET. Media must be existing Shopify file gids (for example one another card uses); uploading new images or videos is not available. Side effects: Shopify metaobject writes, live on the storefront at once when the version is the collection’s published one. Returns the version’s resulting cards in GET’s shape, including generated handles. Give each new card a handle of your own (lowercase letters, digits, -, _), so resending a PATCH whose answer you lost updates the card instead of creating it twice.
A valid request URL is required to generate request examples{
"version": "<string>",
"cards": [
{
"handle": "<string>",
"index": 123,
"span_rows": 123,
"span_columns": 123,
"aspect_ratio": 123,
"content": {
"type": "image",
"gid": "<string>",
"filename": "<string>",
"alt_text": "<string>"
},
"metaobject_id": "<string>",
"clicks_id": 123,
"visibility": "desktop",
"hover_image": {
"type": "image",
"gid": "<string>",
"filename": "<string>",
"alt_text": "<string>"
},
"text": {
"header": {
"html_tag": "<string>",
"color_hex": "<string>",
"bold": true,
"italic": true,
"underline": true,
"text": "<string>",
"translations": {}
},
"body": {
"html_tag": "<string>",
"color_hex": "<string>",
"bold": true,
"italic": true,
"underline": true,
"text": "<string>",
"translations": {}
},
"horizontal_alignment": "start",
"vertical_alignment": "start",
"background_overlay": "<string>",
"overlay_style": "solid",
"text_shadow": true,
"gap": "<string>"
},
"link": {
"type": "collection",
"gid": "<string>",
"handle": "<string>",
"url": "<string>",
"article_handle": "<string>",
"name": "<string>"
},
"image_url": "<string>",
"hover_image_url": "<string>"
}
],
"reread_failed": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Query Parameters
Body
Response
Saved; the version's cards after the change.
Was this page helpful?

