{"object":"index","name":"Deliva","summary":"Custom products that an agent can preview, price with shipping and order for its user.","steps":["links.products lists what can be made. With country, such as ?country=DE, it shows the price with shipping.","A product's links.quotes gives the price with shipping in one country or several.","links.mcp is an MCP server with the same as tools.","A preview is the product with your user's picture on it, its price with shipping and a link for your user. POST {\"product\": \"poster\", \"country\": \"DE\", \"inputs\": {\"artwork\": \"<public https picture URL>\"}} to links.previews makes one.","A client that only opens URLs makes one with links.new_preview_template. The picture URL is percent-encoded and goes last.","links.user_link_template is a page for your user, for a client that cannot open a URL it composed. It makes nothing until your user presses a button. A product's links.user_link is the same page for a picture that has no public URL. Your user adds it there.","PATCH on a preview changes it. It names the revision it starts from, and the link stays the same.","Sending a picture is under https://deliva.ai/terms and https://deliva.ai/content-policy.","POST {\"items\": [{\"preview\": \"prv_...\", \"revision\": 1, \"price_id\": \"prc_...\"}]} to https://api.deliva.ai/v1/orders orders a preview at its price, once your user has seen the design and the price and asked for it. Your user can also add it to the cart on the preview's approval_url and press \"Pay\" at checkout."],"links":{"products":"https://api.deliva.ai/v1/products","previews":"https://api.deliva.ai/v1/previews","new_preview_template":"https://api.deliva.ai/v1/previews/new?product={product}&country={country}&artwork={picture_url}","user_link_template":"https://deliva.ai/new?product={product}&country={country}&from=api&artwork={picture_url}","openapi":"https://api.deliva.ai/v1/openapi.json","mcp":"https://api.deliva.ai/mcp","llms_txt":"https://deliva.ai/llms.txt"}}