{"openapi":"3.1.0","info":{"title":"Small Monument store","version":"0.1.0"},"paths":{"/policies/{name}":{"get":{"summary":"Policy Page","operationId":"policy_page_policies__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Home","operationId":"home__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/shop":{"get":{"summary":"Shop","operationId":"shop_shop_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/p/{slug}":{"get":{"summary":"Product","operationId":"product_p__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cart/add":{"post":{"summary":"Cart Add","operationId":"cart_add_cart_add_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_cart_add_cart_add_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cart/update":{"post":{"summary":"Cart Update","operationId":"cart_update_cart_update_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_cart_update_cart_update_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cart":{"get":{"summary":"Cart","operationId":"cart_cart_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/checkout":{"get":{"summary":"Checkout","operationId":"checkout_checkout_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Checkout Submit","operationId":"checkout_submit_checkout_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_checkout_submit_checkout_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/checkout/return":{"get":{"summary":"Checkout Return","description":"Where Stripe sends the browser back to.\n\nThis page NEVER decides that an order is paid - the webhook does. A browser\ncan be closed, refreshed, or forged; only the signed server-to-server event\nis trusted. If the webhook has not landed yet the page says \"confirming\",\nwhich is the honest state, and polls.","operationId":"checkout_return_checkout_return_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/stripe/webhook":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_api_stripe_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fulfilment/artwork/{asset_id}":{"get":{"summary":"Fulfilment Artwork","description":"Supplier download endpoint for a post-payment production file.\n\nIt is intentionally neither public static media nor an admin-cookie route:\na fulfilment API receives a short-lived signed URL in its order payload.","operationId":"fulfilment_artwork_fulfilment_artwork__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"expires","in":"query","required":false,"schema":{"type":"string","default":"","title":"Expires"}},{"name":"sig","in":"query","required":false,"schema":{"type":"string","default":"","title":"Sig"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/orders/{order_id}/production.json":{"get":{"summary":"Admin Production Manifest","description":"Read-only, connector-shaped handoff for a personalised order.\n\nThe provider task's `store_handoff.py` accepts each line plus these literal\nshipping column names. This endpoint is admin-only and never calls\nShineOn: supplier submission needs a seller token and stays an explicit\noperational step until that account is configured.","operationId":"admin_production_manifest_admin_orders__order_id__production_json_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/track":{"get":{"summary":"Track Form","operationId":"track_form_track_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Track Lookup","operationId":"track_lookup_track_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_track_lookup_track_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/track/{order_id}":{"get":{"summary":"Track Order","operationId":"track_order_track__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"e","in":"query","required":false,"schema":{"type":"string","default":"","title":"E"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login","operationId":"login_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/auth/google":{"get":{"summary":"Auth Google","operationId":"auth_google_auth_google_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/account","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/google/callback":{"get":{"summary":"Auth Google Cb","operationId":"auth_google_cb_auth_google_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple":{"get":{"summary":"Auth Apple","operationId":"auth_apple_auth_apple_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/account","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/apple/callback":{"post":{"summary":"Auth Apple Cb","operationId":"auth_apple_cb_auth_apple_callback_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_auth_apple_cb_auth_apple_callback_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"get":{"summary":"Logout","operationId":"logout_auth_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/account":{"get":{"summary":"Account","operationId":"account_account_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/enter":{"get":{"summary":"Admin Enter","operationId":"admin_enter_admin_enter_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/leave":{"get":{"summary":"Admin Leave","operationId":"admin_leave_admin_leave_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"summary":"Admin Home","operationId":"admin_home_admin_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/orders/{order_id}":{"get":{"summary":"Admin Order","operationId":"admin_order_admin_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"msg","in":"query","required":false,"schema":{"type":"string","default":"","title":"Msg"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/orders/{order_id}/refund":{"post":{"summary":"Admin Refund","description":"Refund, in full or in part.\n\nLukas's stated policy is that a complaining customer usually keeps the item\nAND gets their money back, because they come back and buy again. That policy\nis only safe if the cost is attributed, so `keep_item` is recorded on the\nrefund - customer-service-automation and self-improving-loop need to be able\nto ask \"which product is generating keep-and-refund events\" and escalate to\nthe supplier at >5%. A refund with no reason attached is a cost nobody can\never trace.","operationId":"admin_refund_admin_orders__order_id__refund_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_refund_admin_orders__order_id__refund_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/orders/{order_id}/tracking":{"post":{"summary":"Admin Tracking","operationId":"admin_tracking_admin_orders__order_id__tracking_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_tracking_admin_orders__order_id__tracking_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/customers":{"get":{"summary":"Admin Customers","operationId":"admin_customers_admin_customers_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/readiness":{"get":{"summary":"Admin Readiness","operationId":"admin_readiness_admin_readiness_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_admin_refund_admin_orders__order_id__refund_post":{"properties":{"amount":{"type":"string","title":"Amount","default":""},"reason":{"type":"string","title":"Reason","default":""},"keep_item":{"type":"string","title":"Keep Item","default":""}},"type":"object","title":"Body_admin_refund_admin_orders__order_id__refund_post"},"Body_admin_tracking_admin_orders__order_id__tracking_post":{"properties":{"carrier":{"type":"string","title":"Carrier","default":""},"number":{"type":"string","title":"Number","default":""}},"type":"object","title":"Body_admin_tracking_admin_orders__order_id__tracking_post"},"Body_auth_apple_cb_auth_apple_callback_post":{"properties":{"code":{"type":"string","title":"Code","default":""},"state":{"type":"string","title":"State","default":""},"user":{"type":"string","title":"User","default":""},"error":{"type":"string","title":"Error","default":""}},"type":"object","title":"Body_auth_apple_cb_auth_apple_callback_post"},"Body_cart_add_cart_add_post":{"properties":{"slug":{"type":"string","title":"Slug"},"qty":{"type":"integer","title":"Qty","default":1},"metal":{"type":"string","title":"Metal","default":"steel"},"chain":{"type":"string","title":"Chain","default":""},"engraving_text":{"type":"string","title":"Engraving Text","default":""},"crop_x":{"type":"string","title":"Crop X","default":"0.5"},"crop_y":{"type":"string","title":"Crop Y","default":"0.5"},"photo":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Photo"}},"type":"object","required":["slug"],"title":"Body_cart_add_cart_add_post"},"Body_cart_update_cart_update_post":{"properties":{"key":{"type":"string","title":"Key"},"qty":{"type":"integer","title":"Qty"}},"type":"object","required":["key","qty"],"title":"Body_cart_update_cart_update_post"},"Body_checkout_submit_checkout_post":{"properties":{"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"line1":{"type":"string","title":"Line1"},"line2":{"type":"string","title":"Line2","default":""},"city":{"type":"string","title":"City"},"state":{"type":"string","title":"State"},"postcode":{"type":"string","title":"Postcode"},"country":{"type":"string","title":"Country","default":"AU"},"phone":{"type":"string","title":"Phone","default":""},"shipping_method":{"type":"string","title":"Shipping Method","default":"standard"}},"type":"object","required":["email","name","line1","city","state","postcode"],"title":"Body_checkout_submit_checkout_post"},"Body_track_lookup_track_post":{"properties":{"order_id":{"type":"string","title":"Order Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["order_id","email"],"title":"Body_track_lookup_track_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}