Check a product configuration before you create it. Send a product and your selections, and the Catalog Explorer validates them against the product's rules and requirements, so you can call create with confidence that your request includes every selection it needs. It also tells you ahead of time whether the item will still need someone in the editor UI after create, to complete selections or add images. Nothing is created, stored or charged.
invalid with the reason, rather than dropped or replaced. The explorer applies the same rules as the build, so a configuration it reports as ready to create builds as reported.status says whether the item is ready to create, needs one more step (an image, or finishing in the editor), or is blocked, and the message says what to do.It works for every product in the catalog: prints and wall art from the Quick Start, Cards & Keepsakes and Albums & Books.
Building with an agent? Point it here before it builds anything. The explorer is the quickest way for an agent to learn a product's options, and it stops the agent from guessing at choices the catalog alone doesn't rule out. Every docs page has a Markdown twin at its URL plus index.html.md: https://www.whcc.com/developer/docs/guides/catalog-explorer/index.html.md.
Before you start, you need what the Quick Start lists: a test key from Connected Accounts. The examples use the test host, https://, and every path below is relative to it. Send a WHCC-API-Version: 2026-10 header on every request; see API Versions.
/v1/catalog/products/{ref}/explorer{ref} is the product's ref from GET /v1/catalog/products, such as framed-print. The product detail links to the explorer as actions.resolveConfiguration: use that link exactly as returned. Everything in the body is optional, and an empty body is a good first call.
| Field | What to send |
|---|---|
selections | The choices made so far: each product field as a key, and one of its value ids as the value, the same as the selections you build with. Leave out anything not chosen yet. |
quantity | How many. Left out, the product's quantity.default is used, or 1. |
designId | Only for products whose catalog entry has requirements.requiresDesign: true, such as cards. Most products don't take a design: leave it out for them. If you send one anyway, it's ignored and guidance[] says so. See Choose a design. |
images | Optional. The images you plan to send with create, in the same shape. Nothing is fetched or stored. |
1
2
3
4
5
curl -X POST https://apis-stage.whcc.com/api/v1/catalog/products/framed-print/explorer \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "WHCC-API-Version: 2026-10" \
-H "Content-Type: application/json" \
-d '{ "selections": {}, "quantity": 1 }'
A selection key the product doesn't publish returns 400 naming the field, as create does. A valid key with a value that doesn't fit your other selections returns 200, with the value listed under invalid.
The response leads with four sections. Properties with nothing to report are omitted rather than sent as null or [].
| Section | Contents |
|---|---|
status | The next step: state, message and, when a step remains, options[]. See Status. |
required | Every required field, keyed by field. |
optional | Fields you can opt into, keyed by field. Fields with nothing to opt into are left out. |
invalid | Submitted values that can't be fulfilled, keyed by field. {} when everything you sent is valid. |
Each entry carries some of these properties:
| Property | In | Meaning |
|---|---|---|
value | required, invalid | In required, the resolved value; absent when the field still needs one. In invalid, the value you sent. |
source | required | Where value came from: submitted, default (the product's default) or rule_default (set by a rule on another selection). |
completion | required | before_creation, or in_editor when the editor collects it after create. |
allowedValues | required, optional | Values valid with your current selections. In optional, the neutral no is left out. |
workflowChanges | required, optional | Values that change how the item is created, mapped to the workflow they need, such as { "layout": "editor_required" }. |
unavailableReason | optional | Why another selection rules the field out, such as conflicts with surface: photo_print. |
default | optional | The value the field takes once it's available. |
reason | invalid | Why the submitted value was rejected. |
Below them is the detail:
canCreate: true when createItem can be built as it stands.issues[]: what blocks the build, each with a code, the field and a message.price: unit and total, or null until the configuration is complete enough to price. excludes names what the price leaves out.guidance[]: steps that don't block the build, such as finishing in the editor or a designId the product doesn't use.createItem: the item to build, with every default filled in. See From the explorer to a build.workflow, selectionChanges[] and categories[]: how the item will be made, what the explorer changed about what you sent, and the full option guide behind the four sections.status tells you whether your request is ready for create and what to expect afterwards. Whether a product needs the editor UI comes from its requirements, which the explorer reads and reports in workflow. Some products can be created through the API but still need someone in the editor UI to complete selections or add images before they can be ordered.
status.state | Meaning | What to do |
|---|---|---|
ready_to_create | Your request has everything create needs, and nothing is left for the editor UI. | Send createItem to create. |
action_needed | Create will succeed, but the item will need a step before it can be ordered. | See status.options. |
blocked | Create would fail. | Fix what issues[] and invalid report, then call again. |
status.options[] lists the ways to complete the item, each with an action and the result it leads to:
add_image: include the image in your create request. Offered only on products whose create accepts images, such as prints and wall art. Its result is ready_to_create, or editor_required when the product still needs the editor UI for something else.finish_in_editor: create the item, then someone completes it in the editor UI, adding images and making any remaining selections. Its result is editor_required. Fields the editor UI collects are marked completion: "in_editor" in required. See Editor Handoff.The empty request above, for a framed print, returns the product's defaults and what you can change. This is a real response from the test host, trimmed to the four sections and to some of the required fields (the full response also lists moulding, acrylic, mounting and backing):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"status": {
"state": "action_needed",
"message": "This product needs an image. Add one to the request, or create it and finish in the editor.",
"options": [
{ "action": "add_image", "result": "ready_to_create" },
{ "action": "finish_in_editor", "result": "editor_required" }
]
},
"required": {
"size": {
"value": "8x10", "source": "default", "completion": "before_creation",
"allowedValues": ["5x7", "5x10", "8x8", "8x10", "8x12", "10x10", "10x20", "10x30", "11x14", "12x12", "12x18", "16x16", "16x20", "16x24", "18x24", "20x20", "20x24", "20x30", "24x24", "24x30", "24x36", "30x30", "30x40"]
},
"surface": { "value": "photo_print", "source": "default", "completion": "before_creation", "allowedValues": ["photo_print", "fine_art_print", "fine_art_canvas", "metal_print"] },
"photo_print": { "value": "lustre_photo_print", "source": "default", "completion": "before_creation", "allowedValues": ["lustre_photo_print", "fuji_deep_matte_photo_print"] },
"lamination": { "value": "no", "source": "default", "completion": "before_creation", "allowedValues": ["no", "protective_lamination"] },
"mat": { "value": "no", "source": "default", "completion": "before_creation", "allowedValues": ["no", "1_in", "1_5_in"] }
},
"optional": {
"fine_art_print": { "unavailableReason": "conflicts with surface: photo_print", "default": "smooth_matte" },
"fine_art_canvas": { "unavailableReason": "conflicts with surface: photo_print", "default": "canvas_matte_laminate" },
"metal_print": { "unavailableReason": "conflicts with surface: photo_print", "default": "white_high_gloss" },
"mat_color": { "unavailableReason": "conflicts with mat: no", "default": "single_white" },
"dynamic_layout": { "allowedValues": ["layout"], "workflowChanges": { "layout": "editor_required" } }
},
"invalid": {}
}
Reading it:
source: "default"). To offer other sizes, offer required.size.allowedValues.mat lists only the mats that fit an 8Γ10. Mats depend on the size: a 1.5" mat fits an 8Γ10 but not a 16Γ20, which takes 2", 3" and 4" mats instead. Change size and call again to see the mats for that size, or call once per size you sell to see where a mat is offered.photo_print is the paper for the photo_print surface. Choose surface: "fine_art_print" and photo_print becomes unavailable while fine_art_print moves into required.mat_color is unavailable because there's no mat. Choose a mat and it moves into required with its own allowedValues.dynamic_layout: "layout" is an extra, but choosing it means the item has to be finished in the editor.action_needed: send the image when you build, or finish in the editor.Send a 2-inch mat with an 8Γ10:
1
{ "selections": { "size": "8x10", "mat": "2_in" }, "quantity": 1 }
1
2
3
4
5
6
7
{
"status": { "state": "blocked", "message": "Resolve the issues before creating this item." },
"invalid": {
"mat": { "value": "2_in", "reason": "'2_in' is not available for 'mat' when 'size' is '8x10'." }
},
"canCreate": false
}
The mat isn't swapped for another one or quietly dropped, and createItem leaves it out. Choose one of required.mat.allowedValues, or a larger size, and call again.
A card made from a WHCC design is checked against the design too. This flat-card design defaults to a foil, so it can't be used on a folded card:
1
{ "designId": "XAHuvcYPTbtBzjhK6", "quantity": 25 }
sent to /v1/catalog/products/5x7-vertical-folded-card/explorer returns:
1
2
3
4
5
6
7
{
"status": { "state": "blocked", "message": "Resolve the issues before creating this item." },
"invalid": {
"designId": { "value": "XAHuvcYPTbtBzjhK6", "reason": "Design XAHuvcYPTbtBzjhK6 is not eligible for product transformation." }
},
"canCreate": false
}
Choose another design for this product (Design Catalog lists the designs for each product), or use this one on the flat card it was made for. A designId sent to a product that doesn't take a design, such as a print, doesn't block: it's left out of createItem, and status.message and guidance[] say it wasn't used.
price is filled in once every required choice is made and nothing left to the editor can change the cost. You don't need an image, so you can quote before your customer has a photo. Two 11Γ14 framed prints with a 1.5" mat, every other choice left to its default:
1
{ "selections": { "size": "11x14", "mat": "1_5_in" }, "quantity": 2 }
1
2
3
4
5
"price": {
"unit": { "value": 116.8, "currency": "USD" },
"total": { "value": 233.6, "currency": "USD" },
"excludes": ["shipping", "tax", "packaging", "surcharges", "tariffs", "discounts"]
}
This is a product price, not an order total. It covers the product alone. Shipping, tax, surcharges (such as a delivery surcharge) and tariffs need a real item: create it, then price it with calculate. excludes lists everything the price leaves out, so don't show it to your customer as what they'll pay.
When price is null, guidance[] says what's holding it back, such as an editor detail that affects the cost. Prices are worked out again on every request, so check again before you charge a customer rather than reusing an old answer.
When canCreate is true, createItem is the item to build, with every default filled in and the product named by its ref. Send it unchanged as one item in POST /v1/commerce/configured-products, as Quick Start Step 4 shows. The price example above, sent with an image, comes back ready_to_create with this createItem:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"createItem": {
"productId": "framed-print",
"selections": {
"size": "11x14",
"moulding": "woodland_walnut",
"surface": "photo_print",
"photo_print": "lustre_photo_print",
"lamination": "no",
"mat": "1_5_in",
"mat_color": "single_white",
"acrylic": "no",
"mounting": "standard",
"backing": "wire_wall_hanger_paper_backing",
"quantity": 2
},
"images": [
{ "url": "https://whcc-platform-test-assets.s3.us-east-2.amazonaws.com/0dd4751480afa9ec95e01c04acdd376f_2509_3357.jpg" }
]
}
Wrap it as { "configuredProducts": [ β¦ ] } and send it. The product subtotal on the build matches the explorer's price.total. For a card, keepsake, album or book, create it and send whoever is designing into the editor, as your product's guide describes.
A product that needs the editor can be ready to create but not yet ready to order. The editor is where it's finished, and the item's isValidForOrder tells you when it is.
400 for a key the product doesn't have.Build with our API
Start adding our products into your app today. You don't need to talk to us first. Platforms and individual photographers or studios building for their own business are all welcome. Test API key access is available for every WHCC account. New to WHCC? Create an account first.
Established businesses with existing print volume
Tell us about your business and the partnership you have in mind, and we'll be in touch.
Tell us about your business and the partnership you have in mind, and we'll be in touch.