> Part of [WHCC Developer Documentation](https://www.whcc.com/developer/llms.txt)

# Cards & Keepsakes

Updated November 20, 2026

Order cards and keepsakes through the WHCC API. You create one from its product and a WHCC design, design it in the WHCC card editor, then check it's finished and submit it like any other item.

## Cards and keepsakes require the editor UI

**Designs and customization must be done inside the card editor.** The API creates and prices a card or keepsake from a WHCC design, and you, or your customer if you send them in, add the photos and words in the editor before it can be ordered. The edit link in [Step 4](https://www.whcc.com/developer/docs/guides/cards/#step-4) opens it, for whoever is designing.

These products use the card editor. See [Cards](https://www.whcc.com/products/cards/index.html.md), [Keepsakes](https://www.whcc.com/products/keepsakes/index.html.md) and [Ornaments](https://www.whcc.com/products/ornaments/index.html.md) on whcc.com for sizes, papers and finishes.

| Product | Catalog `ref` (the `productId` you create with) | `kind` |
| --- | --- | --- |
| 5x7 Flat Card Horizontal | `5x7-horizontal-flat-card` | `card` |
| 5x7 Flat Card Vertical | `5x7-vertical-flat-card` | `card` |
| 5x7 Folded Card Horizontal | `5x7-horizontal-folded-card` | `card` |
| 5x7 Folded Card Vertical | `5x7-vertical-folded-card` | `card` |
| Acrylic Ornament | `acrylic-ornament` | `ornament` |
| Bamboo Ornament | `bamboo-ornament` | `ornament` |
| Circle Framed Ornament | `circle-framed-ornament` | `ornament` |
| Horizontal Framed Ornament | `horizontal-framed-ornament` | `ornament` |
| Vertical Framed Ornament | `vertical-framed-ornament` | `ornament` |
| 11oz Mug | `11oz-mug` | `keepsake` |
| 15oz Mug | `15oz-mug` | `keepsake` |
| 19oz Travel Mug | `19oz-travel-mug` | `keepsake` |
| Metal Keychain | `metal-keychain` | `keepsake` |
| Circle Metal Keychain | `circle-metal-keychain` | `keepsake` |
| Small Acrylic Keychain | `small-acrylic-keychain` | `keepsake` |
| Large Acrylic Keychain | `large-acrylic-keychain` | `keepsake` |
| Small Bag Tag | `small-bag-tag` | `keepsake` |
| Large Bag Tag | `large-bag-tag` | `keepsake` |
| 5x7 Horizontal Designer Acrylic Block | `5x7-horizontal-acrylic-block` | `keepsake` |
| 5x7 Vertical Designer Acrylic Block | `5x7-vertical-acrylic-block` | `keepsake` |
| 5x10 Designer Acrylic Block | `5x10-horizontal-acrylic-block` | `keepsake` |

- **The product and a design are all a create needs.** Every card and keepsake is made from one WHCC design, and its `designId` is the only choice you have to make before the create call. The product detail lists every other option, says which are required, and gives each a standard default. Anything you leave out gets its default. Choose the rest in the editor.
- **The design brings its own defaults.** On top of the product's defaults, each design sets its own, such as a card's envelope color, shape and foil. Create applies some of them, and the editor applies the rest when the design is opened, so the price can change between create and calculate.
- **The editor checks it's finished.** Whoever is designing visits each face, fills the photo slots and replaces the sample text, and the editor won't let them finish with anything left.

## Two tasks: ordering, and your own design grid

This guide covers two things you can build. Most integrations only need the first.

- **Order a card or keepsake (every integration).** Find the product, pick a design by its `designId`, create the item, send whoever is designing into the editor, then calculate, submit and follow the order. That's [Steps 1 to 8](https://www.whcc.com/developer/docs/guides/cards/#step-1) below. Step 2 shows the two calls that find a `designId`.
- **Build your own design grid (optional).** Show WHCC's designs inside your own application: tiles with each design's shape, foil and colorways, and a design page. That uses the same design routes in more depth, and [Design Catalog](https://www.whcc.com/developer/docs/guides/cards/design-catalog/index.html.md) covers it. Whatever your grid shows, ordering is still Steps 1 to 8: your grid hands Step 3 a `designId`.

Everything a card or keepsake shares with a print, from your API keys to the submission and the events that follow it, works as the [Quick Start](https://www.whcc.com/developer/docs/quick-start/index.html.md) describes, and this guide links there rather than repeating it. [Editor Handoff](https://www.whcc.com/developer/docs/api/editor-handoff/index.html.md) covers the edit link and the return from the editor, which cards and keepsakes share with albums and books. The examples use a flat card; the steps are the same for each product in the table.

> **Building with an agent?** Give it the prompt on [Build Cards & Keepsakes with an Agent](https://www.whcc.com/developer/docs/guides/cards/agent/index.html.md) and a test key, and it orders a test card, with you designing the card in the editor.

> **Before you start**, you need what the Quick Start lists: a [test key](https://www.whcc.com/developer/docs/quick-start/#api-keys) from Connected Accounts and a ship-to address. The examples use the test host, `https://apis-stage.whcc.com/api`, and every path below is relative to it. Send a `WHCC-API-Version: 2026-10` header on every request; see [API Versions](https://www.whcc.com/developer/docs/api/versioning/index.html.md). The examples come from two test cards, so the ids in Steps 4 to 7 differ from Step 3's. Whoever designs the card or keepsake needs a browser, and your application needs an `https://` page for the editor to send them back to.

## Step 1: Find card and keepsake products

### GET `/v1/catalog/products`

Lists the products your account can order, the same call as [Quick Start Step 1](https://www.whcc.com/developer/docs/quick-start/#step-1). Ask for `limit=200`, follow `nextCursor` to the end, and keep the products whose `ref` is in the [table above](https://www.whcc.com/developer/docs/guides/cards/#editor-required). Match on `ref`: `kind` doesn't pick these products out, because `keepsake` also covers the album and print boxes, which use the Album Editor (see [Albums & Books](https://www.whcc.com/developer/docs/guides/albums/index.html.md)), and `card` covers products this guide doesn't.

```shell
curl "https://apis-stage.whcc.com/api/v1/catalog/products?limit=200" \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10"
```

#### A card product in the response

```json
{
	"ref": "5x7-horizontal-flat-card",
	"name": "5x7 Flat Card Horizontal",
	"completion": "editor",
	"actions": {
		"detail": { "url": "https://apis-stage.whcc.com/api/v1/catalog/products/5x7-horizontal-flat-card", "method": "GET" }
	},
	"category": { "ref": "press-printed-cards", "name": "Press Printed Cards" },
	"kind": "card",
	"width": 7,
	"height": 5,
	"aspect": "landscape",
	"resolution": 300,
	"bleed": 0.25,
	"quantity": { "min": 25, "max": 5000, "step": 5, "default": 25 },
	"requirements": { "requiresDesign": true, "requiresImage": true, "workflow": "editor_required" }
}
```

These fields tell you what the product needs:

- **`completion: "editor"`.** It's finished in the WHCC editor before it can be ordered.
- **`requirements.requiresDesign: true`.** Creating it takes a `designId`, which you choose in [Step 2](https://www.whcc.com/developer/docs/guides/cards/#step-2).
- **`quantity`.** Cards are ordered in packs: at least 25, in steps of 5 counted from the minimum (25, 30, 35, and so on). Ornaments and keepsakes are ordered one at a time, 1 to 100. Read the numbers from the catalog rather than hard-coding them.

`GET /v1/catalog/products/{ref}` gives the product's `configuration.fields[]`: every option, whether it's required, and its default. You only need it if you're choosing options before the create call.

## Step 2: Choose a design

Every card and keepsake is made from one WHCC design. To find a `designId`, list the tags for your product, then list the designs that carry a tag. [Design Catalog](https://www.whcc.com/developer/docs/guides/cards/design-catalog/index.html.md) has every parameter and field, and how to draw your own grid from them.

### GET `/v1/catalog/designs/tags`

```shell
curl "https://apis-stage.whcc.com/api/v1/catalog/designs/tags?products=5x7-horizontal-flat-card" \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10"
```

#### Example response (trimmed)

```json
{
	"tags": ["announcement", "baby", "birthday", "christmas", "floral", "graduation", "holiday", "minimal", "modern", "popular", "thankyous", "wedding", "…"]
}
```

If it returns `tags: []`, the product has no designs yet. Some keepsakes, such as the bag tags and mugs, have a single blank design today, listed under the product's own tag (for example `bagtag` or `mug`).

### GET `/v1/catalog/designs`

Lists the designs that carry every tag you send, for the products you send. `products` and `tags` are both required, unless you send `family` instead of `tags`.

```shell
curl "https://apis-stage.whcc.com/api/v1/catalog/designs?products=5x7-horizontal-flat-card&tags=holiday&limit=5" \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10"
```

#### Example response (trimmed)

```json
{
	"designs": [
		{
			"id": "Z7q598rP88YARGYQJ",
			"primaryDisplayName": "Joy Border",
			"secondaryDisplayName": null,
			"familyId": "YyZC47vZ7RzhKmFAX",
			"formats": ["flat", "folded"],
			"baseImages": {
				"front": {
					"previewUrl": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10000/layout_1_sherwood%20forest_UJZHV.jpg",
					"smallUrl": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10000/layout_1_sherwood%20forest_UJZHV_small.jpg"
				},
				"back": {
					"smallUrl": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10001/layout_1_sherwood%20forest_S2UUN_small.jpg"
				}
			},
			"productRefs": ["5x7-horizontal-flat-card"],
			"foil": { "5x7-horizontal-flat-card": "available" },
			"defaultSelections": {
				"5x7-horizontal-flat-card": { "shapes": "e16", "foil_pressed_designs": "no", "foil_pressed_foil_color": "silver" }
			},
			"themes": [ { "…": "10 colorways" } ],
			"actions": {
				"detail": { "url": "/api/v1/catalog/designs/Z7q598rP88YARGYQJ?products=5x7-horizontal-flat-card", "method": "GET" }
			}
		},
		{ "…": "4 more designs" }
	],
	"totalCount": 308,
	"ordering": "curated",
	"products": { "5x7-horizontal-flat-card": { "…": "size and shapes, for drawing your own grid" } },
	"nextCursor": "eyJ2IjoxLCJzIjoiY3VyYXRlZCIs…"
}
```

Each row has a name and artwork images to show, and its `id` is the `designId` you send in [Step 3](https://www.whcc.com/developer/docs/guides/cards/#step-3). That's all ordering needs. The rest of the row, the response's `products`, and the design detail route are for [building your own grid](https://www.whcc.com/developer/docs/guides/cards/design-catalog/#build-your-own-grid).

## Step 3: Create the card or keepsake

### POST `/v1/commerce/configured-products`

Creates the item from a product and a design, through the same route as [Quick Start Step 4](https://www.whcc.com/developer/docs/quick-start/#step-4). These rules replace the Quick Start's "send every field the product lists" for cards and keepsakes:

- **Send the product, the design and an empty `selections`.**`"selections": {}` is a complete create. Every option you leave out gets the product's default, and the quantity gets the catalog's `quantity.default`. `selections` itself is required: if it's missing, WHCC returns `400` naming `configuredProducts.N.selections`.
- **`designId` is required.** If it's missing, WHCC returns `400` with the title `designId is required for card products:` followed by the product ids. The design has to exist and apply to the product.
- **The editor finishes applying the design's defaults.** Create applies the design's defaults for option groups such as the envelopes. Its shape, foil and printed-envelope style are applied when the design is opened in the editor, and until then the item is priced without them. In the example below, the card is $23.00 at create and $34.50 once the editor has set the design's shape.
- **Send a choice only when it's been made.** If you or your customer choose an option before the editor, such as the paper or a quantity, send it in `selections` by its field name from the product's `configuration.fields[]`. Don't send every catalog default: defaults for different fields can conflict. A flat card's default insert color, `triple_thick_matte_inserts: "white"`, applies only to triple-thick paper, so sending it with the default paper returns `400` with `'white' can't be combined with the other selections on this product. Remove it or change the selection it conflicts with.`
- **`quantity` fits the product.** A card's `selections.quantity` is at least 25, in steps of 5; an ornament's or keepsake's is 1 to 100. If it doesn't fit, WHCC returns `400` naming `configuredProducts.N.selections.quantity`, with a reason such as `'quantity' must be at least 25.` or `'quantity' must be 25 or more, in steps of 5.`
- **No `redirects`.** Where the editor sends whoever is designing is set when you [ask for the edit link](https://www.whcc.com/developer/docs/guides/cards/#step-4). If you send `redirects` here, WHCC returns `400`.
- **Photos can wait for the editor.** The catalog says `requiresImage: true`, but you can create the item without `images` and add photos in the editor. Photos you do send wait in the editor's photo pool. None is placed for you.
- **Up to 20 per request.** Each item gets its own editor. If a request has more than 20, WHCC returns `400` with the title `A request may include at most 20 editor-completed products`. If it mixes these products with products marked `completion: "api"`, WHCC returns `400` with a title that starts `A request must be either all simple-editor products or all editor-completed products, not a mix:`. Nothing is created in either case.
- **The items can come back in any order.** Each item's `productId` is WHCC's internal product id, not the `ref` you sent. If you need to know which item is which, create one per request.

```shell
curl https://apis-stage.whcc.com/api/v1/commerce/configured-products \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10" \
	-H "Content-Type: application/json" \
	-d '{
			"configuredProducts": [
				{
					"productId": "5x7-horizontal-flat-card",
					"designId": "Z7q598rP88YARGYQJ",
					"selections": {}
				}
			]
		}'
```

#### Example response (trimmed)

```json
{
	"totalPrice": { "value": "23.00", "code": "USD", "total": { "value": "23.00", "code": "USD" } },
	"items": [
		{
			"configuredProductId": "2Gmb3becegmQpzcZC",
			"productId": "benT9erT8BwHrn6Ws",
			"quantity": 25,
			"selectionsSummary": [
				{ "id": "paper_types", "label": "paper_types", "name": "paper", "description": "smooth matte paper" },
				{ "id": "envelopes", "label": "envelopes", "name": "envelope style", "description": "white envelopes" }
			],
			"unitPrice": { "value": "0.92", "code": "USD" },
			"totalPrice": { "value": "23.00", "code": "USD" },
			"metadata": {},
			"status": "awaiting-editor",
			"validationSummary": [
				{ "id": 1153, "level": "error", "message": "Missing photos: no design has been applied to this card" }
			],
			"links": {
				"proof": "https://share-stage.prints.io/e/2Gmb3becegmQpzcZC/…",
				"designSpaceProof": "https://share-stage.prints.io/e/2Gmb3becegmQpzcZC/…",
				"placementProof": "https://share-stage.prints.io/e/2Gmb3becegmQpzcZC/…"
			}
		}
	],
	"actions": {
		"submit": {
			"instructions": "All items are ready. Build a new submission request referencing items[].configuredProductId and call POST /v1/commerce/submissions with a unique Idempotency-Key header to place the order …",
			"url": "https://apis-stage.whcc.com/api/v1/commerce/submissions",
			"method": "POST"
		},
		"calculate": {
			"instructions": "Optional. To see what the order will cost before placing it, call POST actions.calculate.url with the same body you would send to actions.submit.url. …",
			"url": "https://apis-stage.whcc.com/api/v1/commerce/submissions/calculate",
			"method": "POST"
		}
	}
}
```

A create answers `202`, and each item reads `status: "awaiting-editor"`: it exists and has a starting price, but it still has to be designed. Its `validationSummary` says what's missing. Keep its `configuredProductId`. You use it for the edit link, the price check and the submission. The price here comes before the design's defaults and before any change in the editor, so show the price from [calculate](https://www.whcc.com/developer/docs/guides/cards/#step-6). The item has no editor link and no `actions` of its own, and the response has no `actions.poll`.

> **Root `actions.submit` doesn't mean ready here.** The create response carries `actions.submit` and `actions.calculate` even though nobody has opened the editor yet, and the `submit` instructions say all items are ready. Ignore that. Send whoever is designing to the editor, and submit only once they've [finished](https://www.whcc.com/developer/docs/guides/cards/#step-6).

## Step 4: Get the edit link

### POST `/v1/commerce/configured-products/{configuredProductId}/edit-link`

Returns a link that opens one card or keepsake in the WHCC editor. [Editor Handoff](https://www.whcc.com/developer/docs/api/editor-handoff/#edit-link) has the request, the redirect rules and the errors. For cards and keepsakes, these matter most:

- **One item, one link.** Each item has its own editor, so ask for a link, with its own redirects, for each one.
- **`complete` and `cancel` are required.** Put `%EDITOR_ID%` in the `complete` url, so you know which item came back, and use `https` for both.
- **Send a non-empty `text`.** The card editor labels its finish button with `complete.text` and has no label of its own, so an empty string shows a blank button.
- **Four [editor settings](https://www.whcc.com/developer/docs/quick-start/#edit-link-settings) apply.** They're `hidePricing`, `disableUploads`, `addToProject` and `presentationMode`. The other settings the Quick Start lists are accepted and have no effect in the card editor.
- **The link is a credential.** Don't log it or store it, and ask for a fresh one each time someone opens the editor.

```shell
curl -X POST https://apis-stage.whcc.com/api/v1/commerce/configured-products/DwZvGFCLkpAXYvdme/edit-link \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10" \
	-H "Content-Type: application/json" \
	-d '{
			"redirects": {
				"complete": { "text": "Back to my cart", "url": "https://yourdomain.com/return?checkout=12345&item=%EDITOR_ID%&t=<ONE_TIME_TOKEN>" },
				"cancel": { "text": "Cancel", "url": "https://yourdomain.com/cart?checkout=12345" }
			},
			"settings": { "hidePricing": true }
		}'
```

```json
{
	"actions": {
		"edit": { "url": "https://editor-stage.dragdrop.design/editor/DwZvGFCLkpAXYvdme?token=…", "method": "GET" }
	}
}
```

Open `actions.edit.url` in the browser of whoever is designing.

## Step 5: Design it in the editor

You, or your customer if you sent them in, personalize the item in the WHCC editor, and the editor sends you back. Here's what that takes:

1. **Start on the first face.** The item opens with the design you chose and the design's own shape, foil and other defaults. Any photos you sent wait in the photo pool.
2. **Visit every face.** Open each face tab, and for a card, the envelope tab if it has one.
3. **Fill the photo slots.** Drag a photo into every slot, or choose **Leave Empty**.
4. **Replace the sample text.** Replace "Your Studio Here" or choose **Remove Branding**, and update the year or choose **Ignore**. On a card's envelope, replace the sample return address or choose **Remove Sample**.
5. **Review and finish.****Review** opens the summary, where the finish button carries your `complete.text`. If anything is left, a list of issues opens, and **Let's Fix It** goes to the first one.
6. **Land on your `complete` url.** The editor waits for the work and any photo uploads to save, then sends the browser there with a `GET`, `%EDITOR_ID%` filled in. The back arrow goes to your `cancel` url without any checks.

The redirect to your `complete` url is how you know the item was finished, so [record it](https://www.whcc.com/developer/docs/guides/cards/#step-6). Finishing sends nothing else to WHCC or to you, and if the tab is closed, you won't hear from the editor at all.

## Step 6: Confirm it's finished and check the price

An item is finished when the editor sends the browser back to your `complete` url. Record that per item, with a one-time token so an old return can't be replayed, as [Editor Handoff](https://www.whcc.com/developer/docs/api/editor-handoff/#finished) describes, and submit only items you've marked finished. When you send someone back into a finished item, clear its mark and its price until the editor returns them again. If they left through `cancel` or closed the tab, the item isn't finished: ask for a fresh [edit link](https://www.whcc.com/developer/docs/guides/cards/#step-4) and send them back.

> **An unfinished card or keepsake fails.** Until it's been designed, `GET /v1/commerce/configured-products?ids=…` reads `status: "failed"` and calculate reports `isValidForOrder: false`, each with a `validationSummary` naming what's missing, such as `1153` "Missing 1 photo" or `1100` "Studio Name has not been updated". Use your record of the `complete` redirect to know it's finished, and calculate to confirm it's valid before you submit.

### POST `/v1/commerce/submissions/calculate`

Prices the finished item and lists the shipping options for your ship-to address. Send the body you'll submit, as in [Quick Start Step 5](https://www.whcc.com/developer/docs/quick-start/#step-5): `items` and `shipping`, with the address. Leave out `items[].quantity` and the item keeps the quantity it was created with. Don't send an `Idempotency-Key` to calculate.

Calculate and submit use what the editor saved, not what you sent to create. The editor applies the design's defaults, and whoever is designing can change selections such as the envelopes, so the price and `selectionsSummary[]` can differ from the create response. Show the ones calculate returns.

```shell
curl https://apis-stage.whcc.com/api/v1/commerce/submissions/calculate \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10" \
	-H "Content-Type: application/json" \
	-d '{
			"items": [
				{ "configuredProductId": "DwZvGFCLkpAXYvdme" }
			],
			"shipping": {
				"type": "dropship",
				"priority": "dropship_lowest_cost",
				"address": {
					"name": "John Doe",
					"addr1": "3005 Eagandale Place",
					"city": "Eagan",
					"state": "MN",
					"zip": "55121",
					"country": "US"
				}
			}
		}'
```

#### Example response (trimmed)

```json
{
	"accountId": "whcc_474284",
	"items": [
		{
			"configuredProductId": "DwZvGFCLkpAXYvdme",
			"label": "5x7 Flat Card Horizontal",
			"primaryDisplayName": "5×7 Flat Card Horizontal",
			"quantity": 25,
			"unitPrice": { "value": "0.92", "code": "USD" },
			"totalPrice": { "value": "23.00", "code": "USD" },
			"productId": "benT9erT8BwHrn6Ws",
			"selectionsSummary": [
				{ "id": "paper_types", "label": "paper_types", "name": "paper", "description": "smooth matte paper" },
				{ "id": "envelopes", "label": "envelopes", "name": "envelope style", "description": "white envelopes" }
			],
			"isValidForOrder": true
		}
	],
	"totalPrice": {
		"value": "35.63",
		"code": "USD",
		"total": { "value": "32.95", "code": "USD" },
		"subtotals": {
			"product": { "value": "23.00", "code": "USD" },
			"shipping": { "label": "Economy", "value": "9.95", "code": "USD" },
			"salesTax": { "value": "2.68", "code": "USD", "isExempt": false }
		}
	},
	"validation": { "isValidForSubmit": true, "isValidDiscount": null },
	"shippingType": "dropship",
	"shippingPriority": "dropship_lowest_cost",
	"options": {
		"shipping": [
			{ "id": "dropship_lowest_cost", "type": "dropship", "priority": "dropship_lowest_cost", "label": "Economy", "price": { "value": "9.95", "code": "USD" } },
			{ "id": "dropship_expedited", "type": "dropship", "priority": "dropship_expedited", "label": "Expedited", "price": { "value": "14.50", "code": "USD" } },
			{ "id": "dropship_one_day_standard", "type": "dropship", "priority": "dropship_one_day_standard", "label": "Standard One-Day", "price": { "value": "21.68", "code": "USD" } },
			{ "id": "dropship_one_day_priority", "type": "dropship", "priority": "dropship_one_day_priority", "label": "Priority One-Day", "price": { "value": "27.62", "code": "USD" } }
		]
	}
}
```

`totalPrice.value` is the total including tax, and `options.shipping[]` lists every shipping method for this address, priced. Submit only when `validation.isValidForSubmit` and every item's `isValidForOrder` are `true`. If `isValidForSubmit` is `false`, `validation.invalidParams[]` names problems with the submission itself, such as a missing address field; fix those in your checkout. If an item's `isValidForOrder` is `false`, its `validationSummary` says what's left to do in the editor.

If an item needs more work, **don't create it again**. A new create makes a new, blank item, and the work already done stays on the old one. Ask for a fresh [edit link](https://www.whcc.com/developer/docs/guides/cards/#step-4) and go back in to finish it.

## Step 7: Submit

> This example submits to the test host, where nothing is produced or billed. The same request sent to `apis.whcc.com` with a live key becomes a real order that WHCC produces, ships and bills you for.

### POST `/v1/commerce/submissions`

Submits the finished item for production. Send the same body as Step 6 plus a required `Idempotency-Key` header, exactly as in [Quick Start Step 6](https://www.whcc.com/developer/docs/quick-start/#step-6). Use your checkout ID, or a UUID you save with the checkout before you send, so a retry after a timeout can't place a second order. See [Idempotency](https://www.whcc.com/developer/docs/quick-start/#idempotency).

```shell
curl https://apis-stage.whcc.com/api/v1/commerce/submissions \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10" \
	-H "Content-Type: application/json" \
	-H "Idempotency-Key: <UNIQUE_KEY_FOR_THIS_CHECKOUT_ATTEMPT>" \
	-d '{
			"items": [
				{ "configuredProductId": "DwZvGFCLkpAXYvdme" }
			],
			"shipping": {
				"type": "dropship",
				"priority": "dropship_lowest_cost",
				"address": {
					"name": "John Doe",
					"addr1": "3005 Eagandale Place",
					"city": "Eagan",
					"state": "MN",
					"zip": "55121",
					"country": "US"
				}
			}
		}'
```

A valid submission answers `202` with the submission's `id`. Save it. If WHCC finds a problem with an item when you submit, it refuses the submission and places nothing: it returns `400` with `code: "submission.not_submittable"` and an `invalidParams[]` entry named `items.N.configuredProductId`, with a reason that names the problem, such as `This configured product isn't valid for ordering: image-missing-card.` Go back in with a fresh edit link. See [Errors](https://www.whcc.com/developer/docs/api/errors/#submission-error-codes).

## Step 8: Follow the order

A card or keepsake follows the same [submission lifecycle](https://www.whcc.com/developer/docs/api/submission-lifecycle/index.html.md) as a print. Create an [event subscription](https://www.whcc.com/developer/docs/api/event-subscriptions/index.html.md) once, when you set up the integration, and WHCC posts `order.accepted`, `order.rejected`, `order.shipped` and `order.cancelled` to your endpoint as each order moves. Don't poll. Match an event to your checkout by its `ConfirmationId`, which is the `confirmationId` on each entry in the submission's `orders[]`.

If a submission fails before any order exists, there's no event, so read the submission once it settles and act on `failed` or `partially_failed`. [Quick Start Step 7](https://www.whcc.com/developer/docs/quick-start/#step-7) shows that read and how to test the event path with a test key.

## If something goes wrong

Cards and keepsakes return the same error shapes as every other route; [Errors & Rate Limits](https://www.whcc.com/developer/docs/api/errors/index.html.md) has them all. These are the ones you're most likely to meet. [Design Catalog](https://www.whcc.com/developer/docs/guides/cards/design-catalog/#errors) lists the design routes' errors.

| When | What WHCC returns | What to do |
| --- | --- | --- |
| Create without `selections` | `400` naming `configuredProducts.N.selections` | Send `"selections": {}`. |
| Create without `designId` | `400`, `designId is required for card products: …` | Send the design's `id`. |
| Create with a quantity that doesn't fit the product | `400` naming `configuredProducts.N.selections.quantity` | For a card, send 25, 30, 35 and so on. For an ornament or keepsake, 1 to 100. |
| Create with `redirects` | `400` naming `redirects` | Send them to the edit link instead. |
| Create with a selection that conflicts with another, such as every catalog default | `400` naming the field, such as `configuredProducts.0.selections.triple_thick_matte_inserts`, with `… can't be combined with the other selections on this product.` | Send only the choices that were made, or `{}`. |
| Submit an item that isn't finished | `400`, `submission.not_submittable` | Go back in with a fresh edit link. Don't create it again. |