Skip to Content
ArteloAPI

Create or update a product set

POST
/product-sets/save

Create a product set, or update one by passing its id.

When you update a product set, each product option that matches one of its products keeps that product's id, along with its listings and pending orders. A product set made from a template stays linked to it, so an update must keep every product the template requires.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, sent as a bearer token.

Request body

application/json
  1. body
id?string

id of the product set to update. Omit to create one.

Formatuuid
isPersonalizable?boolean

Whether the product set is personalizable.

Defaultfalse
name*string

Name of the product set. Must be unique.

Lengthlength <= 255
productOptions*array<>

Products in the product set.

Items1 <= items

Response body

The created or updated product set.

application/json
  1. response
createdAt*string

When the product set was created.

id*string

Unique identifier of the product set.

name*string

Unique name of the product set.

products*array<>

Products in the product set.

updatedAt*string

When the product set was last updated.

Example request
curl -X POST 'https://www.artelo.com/api/open/product-sets/save' \  -H 'Authorization: Bearer <your token>' \  -H 'Content-Type: application/json' \  -d '{  "name": "Harbor at dawn",  "productOptions": [    {      "catalogProductId": "IndividualArtPrint",      "designs": [        {          "imageId": "88600d9d-18ed-48df-86dd-c0a827c5ebf8"        }      ],      "frameColor": "Unframed",      "orientation": "Vertical",      "paperType": "ArchivalMatteFineArt",      "size": "x12x16"    }  ]}'
Example response
{  "createdAt": "2026-09-02 14:20:41.552+00",  "id": "9267450d-83ce-4fad-99f0-2250fc5f1e37",  "name": "Harbor at dawn",  "products": [    {      "canvasBorderStyle": null,      "canvasDesignedFor": null,      "catalogProductId": "IndividualArtPrint",      "designs": [        {          "height": 4900,          "rotation": 0,          "width": 3675,          "x": -37.5,          "y": -50,          "id": "17b8c2c8-4f09-4e5c-b3be-468fd96955e6",          "image": {            "previews": {              "lg": "https://uploads.example.com/previews/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.preview.lg.jpg",              "sm": "https://uploads.example.com/previews/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.preview.sm.jpg",              "xs": "https://uploads.example.com/previews/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.preview.xs.jpg"            },            "url": "https://uploads.example.com/files/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.jpg"          },          "order": 0        }      ],      "frameColor": "Unframed",      "frameStyle": "Unframed",      "id": "378832e9-0e23-45f2-8ba0-aa532b0f4acd",      "includeFramingService": false,      "includeHangingPins": false,      "includeMats": false,      "orientation": "Vertical",      "packagingType": "Standard",      "paperStyle": "FineArt",      "paperType": "ArchivalMatteFineArt",      "size": "x12x16",      "unitCost": 7.82    }  ],  "updatedAt": "2026-10-06 09:03:17.204+00"}