{"openapi":"3.1.0","info":{"title":"Matt Ketmo Art API","version":"2026-08-25","summary":"Shop Matt Ketmo's ballpoint pen artworks and prints: catalog, cart, checkout, orders.","description":"The Matt Ketmo Art API implements the Universal Commerce Protocol (UCP) shopping service over REST. The same operations are available as tools of the MCP server at /ucp/mcp.\n\nNo authentication. Prices are in minor currency units. Payment never goes through the API: a checkout session returns a continue_url where the buyer pays.\n\nErrors: operations answer a UCP body whose `ucp.status` is `error` and whose `messages` carry a `code`, a `content` explaining what to do, and a `severity`. Unknown paths and methods answer RFC 9457 problem details (application/problem+json) with `code` and `hint`.","contact":{"name":"Matt Ketmo","email":"matt@ketmo.art","url":"https://www.ketmo.art/contact"}},"externalDocs":{"description":"Developer documentation","url":"https://www.ketmo.art/developers"},"servers":[{"url":"https://www.ketmo.art","description":"Production"}],"security":[],"tags":[{"name":"Service","description":"Discovery of the UCP service."},{"name":"Catalog","description":"Search and look up products, with prices and stock."},{"name":"Cart","description":"A cart of variants, before checkout."},{"name":"Checkout","description":"A checkout session the buyer pays at its continue_url."},{"name":"Order","description":"An order's lines, shipments and tracking."}],"paths":{"/ucp/v1":{"get":{"operationId":"getServiceIndex","tags":["Service"],"summary":"List the UCP REST operations","description":"Returns the UCP version, the profile URL, the MCP endpoint and the REST operations.","responses":{"200":{"description":"The service index.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceIndex"}}}},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/catalog/search":{"post":{"operationId":"searchCatalog","tags":["Catalog"],"summary":"Search products","description":"Searches products by free text, newest first, with every variant's price and availability. Page with pagination.cursor.","requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogSearchRequest"}}}},"responses":{"200":{"description":"Matching products.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/CatalogSearch"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/catalog/lookup":{"post":{"operationId":"lookupCatalog","tags":["Catalog"],"summary":"Look up products by ID or handle","description":"Fetches products by product ID, variant ID or handle. Identifiers that match nothing come back as not_found info messages.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogLookupRequest"}}}},"responses":{"200":{"description":"The products found.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/CatalogLookup"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/cart":{"post":{"operationId":"createCart","tags":["Cart"],"summary":"Create a cart","description":"Creates a cart from variant IDs and quantities. Send an Idempotency-Key header to retry safely.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CartCreateRequest"}}}},"responses":{"201":{"description":"The new cart.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Cart"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/Unprocessable"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/cart/{cartId}":{"get":{"operationId":"getCart","tags":["Cart"],"summary":"Get a cart","description":"Returns an open cart with its lines and totals.","parameters":[{"name":"cartId","in":"path","required":true,"description":"Cart ID, as returned by createCart.","schema":{"type":"string","pattern":"^cart_"}}],"responses":{"200":{"description":"The cart.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Cart"}]}}}},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalError"}}},"put":{"operationId":"updateCart","tags":["Cart"],"summary":"Replace a cart's lines","description":"Replaces every line of an open cart with the given line items.","parameters":[{"name":"cartId","in":"path","required":true,"description":"Cart ID, as returned by createCart.","schema":{"type":"string","pattern":"^cart_"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CartUpdateRequest"}}}},"responses":{"200":{"description":"The updated cart.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Cart"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/Unprocessable"},"500":{"$ref":"#/components/responses/InternalError"}}},"delete":{"operationId":"cancelCart","tags":["Cart"],"summary":"Cancel a cart","description":"Cancels an open cart; it can no longer be read or checked out.","parameters":[{"name":"cartId","in":"path","required":true,"description":"Cart ID, as returned by createCart.","schema":{"type":"string","pattern":"^cart_"}}],"responses":{"200":{"description":"The canceled cart.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Cart"}]}}}},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/checkout-sessions":{"post":{"operationId":"createCheckout","tags":["Checkout"],"summary":"Start a checkout session","description":"Starts a checkout from line items or a cart_id, with the buyer's email and shipping address. Give the buyer the returned continue_url to choose delivery and pay. Send an Idempotency-Key header to retry safely.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCreateRequest"}}}},"responses":{"201":{"description":"The checkout session.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Checkout"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/Unprocessable"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/checkout-sessions/{id}":{"get":{"operationId":"getCheckout","tags":["Checkout"],"summary":"Get a checkout session","description":"Returns a checkout session, with its order once the buyer has paid.","parameters":[{"name":"id","in":"path","required":true,"description":"Checkout session ID, as returned by createCheckout.","schema":{"type":"string","pattern":"^cart_"}}],"responses":{"200":{"description":"The checkout session.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Checkout"}]}}}},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalError"}}},"put":{"operationId":"updateCheckout","tags":["Checkout"],"summary":"Update a checkout session","description":"Updates an open session's line items, buyer or shipping address.","parameters":[{"name":"id","in":"path","required":true,"description":"Checkout session ID, as returned by createCheckout.","schema":{"type":"string","pattern":"^cart_"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutUpdateRequest"}}}},"responses":{"200":{"description":"The updated checkout session.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Checkout"}]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/Unprocessable"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/checkout-sessions/{id}/complete":{"post":{"operationId":"completeCheckout","tags":["Checkout"],"summary":"Request checkout completion","description":"Payment can't be taken through the API: an open session comes back unchanged with status requires_escalation and the continue_url where the buyer pays.","parameters":[{"name":"id","in":"path","required":true,"description":"Checkout session ID, as returned by createCheckout.","schema":{"type":"string","pattern":"^cart_"}}],"responses":{"200":{"description":"The checkout session.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Checkout"}]}}}},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/checkout-sessions/{id}/cancel":{"post":{"operationId":"cancelCheckout","tags":["Checkout"],"summary":"Cancel a checkout session","description":"Cancels a session that is not completed yet.","parameters":[{"name":"id","in":"path","required":true,"description":"Checkout session ID, as returned by createCheckout.","schema":{"type":"string","pattern":"^cart_"}}],"responses":{"200":{"description":"The canceled checkout session.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Checkout"}]}}}},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"500":{"$ref":"#/components/responses/InternalError"}}}},"/ucp/v1/orders/{id}":{"get":{"operationId":"getOrder","tags":["Order"],"summary":"Get an order","description":"Returns an order's lines, shipment events with tracking, and totals. The order ID is the key: keep it private.","parameters":[{"name":"id","in":"path","required":true,"description":"Order ID, from the `order.id` of a completed checkout session.","schema":{"type":"string","pattern":"^order_[A-Za-z0-9]+$"}}],"responses":{"200":{"description":"The order.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/Order"}]}}}},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalError"}}}}},"components":{"schemas":{"UcpEnvelope":{"type":"object","properties":{"ucp":{"type":"object","properties":{"version":{"type":"string","description":"UCP version of the response.","examples":["2026-08-25"]},"status":{"type":"string","description":"Whether the operation succeeded.","enum":["success","error"]},"capabilities":{"type":"object","description":"The UCP capability that answered, keyed by name.","additionalProperties":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string"}}}}}},"required":["version","status"]}},"required":["ucp"]},"Message":{"type":"object","properties":{"type":{"type":"string","description":"Kind of message.","enum":["error","warning","info"]},"code":{"type":"string","description":"Machine-readable code, e.g. not_found, invalid_request, unsupported_country, item_unavailable, missing, payment_required."},"content":{"type":"string","description":"Human-readable explanation, with what to do next."},"path":{"type":"string","description":"JSONPath of the request field the message is about."},"severity":{"type":"string","description":"What resolves an error: retry or fix the request (recoverable), the buyer's action (requires_buyer_input), or nothing (unrecoverable).","enum":["recoverable","requires_buyer_input","unrecoverable"]}},"required":["type","code","content"]},"ErrorBody":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"},"minItems":1}},"required":["messages"],"description":"A UCP error: the `ucp` metadata with status `error`, then the messages."},"Problem":{"type":"object","properties":{"type":{"type":"string","description":"Problem type URI (RFC 9457).","format":"uri"},"title":{"type":"string","description":"Short summary of the problem type."},"status":{"type":"integer","description":"HTTP status code."},"detail":{"type":"string","description":"What went wrong for this request."},"instance":{"type":"string","description":"The request path."},"code":{"type":"string","description":"Machine-readable code: not_found or method_not_allowed."},"hint":{"type":"string","description":"How to resolve it."},"docs":{"type":"string","description":"Developer documentation.","format":"uri"}},"required":["type","title","status","code"],"description":"RFC 9457 problem details, returned as application/problem+json for paths and methods outside this spec."},"Money":{"type":"object","properties":{"amount":{"type":"integer","description":"Amount in minor currency units (cents of a euro)."},"currency":{"type":"string","description":"ISO 4217 currency code.","examples":["EUR"]}},"required":["amount","currency"]},"Context":{"type":"object","properties":{"address_country":{"type":"string","description":"ISO 3166-1 alpha-2 country the buyer ships to; prices and availability follow its region. Defaults to the store's region.","examples":["FR"]}}},"LineItemInput":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","description":"Variant ID (variant_...)."}},"required":["id"]},"quantity":{"type":"integer","description":"Quantity of the variant.","minimum":1,"maximum":100}},"required":["item","quantity"]},"LineItemsInput":{"type":"array","items":{"$ref":"#/components/schemas/LineItemInput"},"maxItems":50},"Total":{"type":"object","properties":{"type":{"type":"string","description":"Kind of total.","enum":["subtotal","discount","fulfillment","tax","total"]},"amount":{"type":"integer","description":"Amount in minor currency units."}},"required":["type","amount"]},"Variant":{"type":"object","properties":{"id":{"type":"string","description":"Variant ID, to put in line items."},"sku":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","description":"Product page with this variant preselected.","format":"uri"},"price":{"$ref":"#/components/schemas/Money"},"availability":{"type":"object","properties":{"available":{"type":"boolean"},"status":{"type":"string","enum":["in_stock","out_of_stock"]}},"required":["available","status"]},"options":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"]}}},"required":["id","title","url","price","availability"]},"Product":{"type":"object","properties":{"id":{"type":"string","description":"Product ID (prod_...)."},"handle":{"type":"string","description":"URL slug of the product page."},"title":{"type":"string"},"description":{"type":"string","description":"Plain-text description."},"url":{"type":"string","description":"Product page.","format":"uri"},"media":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"url":{"type":"string"},"alt_text":{"type":"string"}},"required":["type","url"]}},"price_range":{"type":"object","properties":{"min":{"$ref":"#/components/schemas/Money"},"max":{"$ref":"#/components/schemas/Money"}},"required":["min","max"]},"variants":{"type":"array","items":{"$ref":"#/components/schemas/Variant"}}},"required":["id","handle","title","url","variants"]},"CatalogSearchRequest":{"type":"object","properties":{"query":{"type":"string","description":"Free-text search; omit to list every product.","maxLength":200},"pagination":{"type":"object","properties":{"limit":{"type":"integer","description":"Page size.","minimum":1,"maximum":50,"default":20},"cursor":{"type":"string","description":"The cursor of the previous page."}}},"context":{"$ref":"#/components/schemas/Context"}}},"CatalogSearch":{"type":"object","properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"pagination":{"type":"object","properties":{"has_next_page":{"type":"boolean"},"cursor":{"type":"string","description":"Pass as pagination.cursor for the next page."},"total_count":{"type":"integer"}},"required":["has_next_page","total_count"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"required":["products","pagination"]},"CatalogLookupRequest":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","description":"Product ID (prod_...), variant ID (variant_...) or product handle."},"minItems":1,"maxItems":50},"context":{"$ref":"#/components/schemas/Context"}},"required":["ids"]},"CatalogLookup":{"type":"object","properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"},"description":"An info message with code not_found per identifier that matched nothing."}},"required":["products"]},"LineItem":{"type":"object","properties":{"id":{"type":"string","description":"Line item ID."},"item":{"type":"object","properties":{"id":{"type":"string","description":"Variant ID."},"title":{"type":"string"},"price":{"type":"integer","description":"Unit price in minor currency units."}},"required":["id","title","price"]},"quantity":{"type":"integer"},"totals":{"type":"array","items":{"$ref":"#/components/schemas/Total"}}},"required":["id","item","quantity","totals"]},"CartCreateRequest":{"type":"object","properties":{"line_items":{"$ref":"#/components/schemas/LineItemsInput"},"context":{"$ref":"#/components/schemas/Context"}},"required":["line_items"]},"CartUpdateRequest":{"type":"object","properties":{"line_items":{"$ref":"#/components/schemas/LineItemsInput","description":"Replaces every line of the cart."}},"required":["line_items"]},"Cart":{"type":"object","properties":{"id":{"type":"string","description":"Cart ID (cart_...)."},"currency":{"type":"string"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/LineItem"}},"totals":{"type":"array","items":{"$ref":"#/components/schemas/Total"}},"continue_url":{"type":"string","description":"Where the buyer reviews the cart and pays.","format":"uri"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"required":["id","currency","line_items","totals"]},"Buyer":{"type":"object","properties":{"email":{"type":"string","description":"Where the order confirmation goes.","format":"email"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"}}},"Destination":{"type":"object","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"street_address":{"type":"string"},"extended_address":{"type":"string"},"address_locality":{"type":"string","description":"City."},"address_region":{"type":"string"},"postal_code":{"type":"string"},"address_country":{"type":"string","description":"ISO 3166-1 alpha-2 country code."},"phone_number":{"type":"string"}}},"Fulfillment":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["shipping"]},"destinations":{"type":"array","items":{"$ref":"#/components/schemas/Destination"},"maxItems":1}},"required":["type"]},"maxItems":1}}},"CheckoutCreateRequest":{"type":"object","properties":{"cart_id":{"type":"string","description":"Start from an existing cart instead of line_items."},"line_items":{"$ref":"#/components/schemas/LineItemsInput"},"buyer":{"$ref":"#/components/schemas/Buyer"},"fulfillment":{"$ref":"#/components/schemas/Fulfillment"},"context":{"$ref":"#/components/schemas/Context"}},"anyOf":[{"required":["cart_id"]},{"required":["line_items"]}],"description":"Either cart_id or a non-empty line_items."},"CheckoutUpdateRequest":{"type":"object","properties":{"line_items":{"$ref":"#/components/schemas/LineItemsInput","description":"Replaces every line."},"buyer":{"$ref":"#/components/schemas/Buyer"},"fulfillment":{"$ref":"#/components/schemas/Fulfillment"}}},"Checkout":{"type":"object","properties":{"id":{"type":"string","description":"Checkout session ID (the cart's ID)."},"status":{"type":"string","description":"incomplete: buyer email or address missing; requires_escalation: the buyer must pay at continue_url; completed: paid, see order; canceled.","enum":["incomplete","requires_escalation","completed","canceled"]},"currency":{"type":"string"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/LineItem"}},"totals":{"type":"array","items":{"$ref":"#/components/schemas/Total"}},"buyer":{"type":"object","properties":{"email":{"type":"string","format":"email"}}},"fulfillment":{"$ref":"#/components/schemas/Fulfillment"},"links":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["terms_of_service","privacy_policy","refund_policy","shipping_policy"]},"url":{"type":"string","format":"uri"}},"required":["type","url"]}},"order":{"type":"object","properties":{"id":{"type":"string","description":"Order ID, for getOrder."},"permalink_url":{"type":"string","format":"uri"}},"required":["id","permalink_url"]},"continue_url":{"type":"string","description":"Give this to the buyer: they choose delivery and pay there.","format":"uri"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"required":["id","status","currency","line_items","totals","links","messages"]},"OrderLineItem":{"type":"object","properties":{"id":{"type":"string"},"item":{"type":"object","properties":{"id":{"type":"string","description":"Variant ID."},"title":{"type":"string"},"price":{"type":"integer"}},"required":["id","title","price"]},"quantity":{"type":"object","properties":{"total":{"type":"integer"},"fulfilled":{"type":"integer"}},"required":["total","fulfilled"]},"totals":{"type":"array","items":{"$ref":"#/components/schemas/Total"}},"status":{"type":"string","enum":["processing","partial","fulfilled","removed"]}},"required":["id","item","quantity","totals","status"]},"FulfillmentEvent":{"type":"object","properties":{"id":{"type":"string"},"occurred_at":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["shipped","delivered","canceled"]},"line_items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"quantity":{"type":"integer"}},"required":["id","quantity"]}},"tracking_number":{"type":"string"},"tracking_url":{"type":"string","format":"uri"}},"required":["id","occurred_at","type","line_items"]},"Order":{"type":"object","properties":{"id":{"type":"string"},"checkout_id":{"type":"string"},"permalink_url":{"type":"string","description":"The order's page on the store.","format":"uri"},"currency":{"type":"string"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/OrderLineItem"}},"fulfillment":{"type":"object","properties":{"expectations":{"type":"array","items":{"type":"object"}},"events":{"type":"array","items":{"$ref":"#/components/schemas/FulfillmentEvent"}}},"required":["expectations","events"]},"totals":{"type":"array","items":{"$ref":"#/components/schemas/Total"}},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"required":["id","checkout_id","permalink_url","currency","line_items","fulfillment","totals"]},"ServiceIndex":{"type":"object","properties":{"ucp":{"type":"object","properties":{"version":{"type":"string"}},"required":["version"]},"profile":{"type":"string","description":"UCP profile.","format":"uri"},"mcp":{"type":"string","description":"MCP endpoint (Streamable HTTP).","format":"uri"},"operations":{"type":"array","items":{"type":"string"}}},"required":["ucp","profile","mcp","operations"]}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"Replays the first result for 10 minutes when a request is retried with the same key.","schema":{"type":"string","maxLength":255}}},"responses":{"BadRequest":{"description":"Invalid request (invalid_request, invalid_email) or a country the store doesn't ship to (unsupported_country).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/ErrorBody"}]}}}},"NotFound":{"description":"No such cart, checkout session or order (not_found).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/ErrorBody"}]}}}},"Conflict":{"description":"The checkout session is already completed (already_completed).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/ErrorBody"}]}}}},"Unprocessable":{"description":"A variant doesn't exist or can't be purchased (item_unavailable).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/ErrorBody"}]}}}},"InternalError":{"description":"Unexpected error (internal_error); retry later.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UcpEnvelope"},{"$ref":"#/components/schemas/ErrorBody"}]}}}}}}}