{"openapi":"3.1.0","info":{"title":"42A Store API","version":"0.0.2","description":"Fully simulated demo commerce API by 42A. Nothing is sold, charged or shipped. Payments: any token matching `spt_*` or `tok_*` is approved; tokens containing \"declined\" simulate a decline. Also available: MCP at /mcp (Streamable HTTP, no auth) and ACP checkout sessions under /api/acp. Agents: pass `\"channel\": \"gpt\"` (or mcp/acp) in POST bodies — or header `X-42A-Channel` — so your orders are badged as agent orders on /orders. ACP divergences from spec (labeled simulation): request signatures accepted but not verified; no order webhooks (poll the session); Idempotency-Key not enforced."},"servers":[{"url":"https://store.42a.ai"}],"paths":{"/api/products":{"get":{"operationId":"searchProducts","summary":"Search merch products","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"category","in":"query","schema":{"type":"string","enum":["apparel","accessories","desk","drinkware"]}},{"name":"max_price_cents","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Product"}}}}}}}}}},"/api/products/{id}":{"get":{"operationId":"getProduct","summary":"Get a product by id or slug","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/hotels":{"get":{"operationId":"searchHotels","summary":"Search hotels by city and stay dates","parameters":[{"name":"city","in":"query","required":true,"schema":{"type":"string","enum":["TLV","NYC","LON","TYO"]}},{"name":"check_in","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"check_out","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"guests","in":"query","schema":{"type":"integer","default":1}},{"name":"max_nightly_cents","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/HotelSummary"}}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/hotels/{id}/availability":{"get":{"operationId":"getHotelAvailability","summary":"Room-level availability and pricing for a stay","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"check_in","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"check_out","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"guests","in":"query","schema":{"type":"integer","default":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"rooms":{"type":"array","items":{"$ref":"#/components/schemas/RoomAvailability"}}}}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/hotels/{id}/book":{"post":{"operationId":"bookHotel","summary":"Book a hotel room (simulated payment)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["room_type_id","check_in","check_out","guest_name","payment_token"],"properties":{"room_type_id":{"type":"string"},"check_in":{"type":"string","format":"date"},"check_out":{"type":"string","format":"date"},"guest_name":{"type":"string"},"guest_email":{"type":"string"},"payment_token":{"type":"string","description":"e.g. spt_demo_123"},"channel":{"type":"string","enum":["gpt","mcp","acp"],"description":"Identify your agent type so the order is badged correctly on /orders. Custom GPTs should pass \"gpt\"."}}}}}},"responses":{"201":{"description":"Booking confirmed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}},"402":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/flights":{"get":{"operationId":"searchFlights","summary":"Search 42A Air flights","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string"}},{"name":"to","in":"query","required":true,"schema":{"type":"string"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"cabin","in":"query","schema":{"type":"string","enum":["economy","business"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FlightOffer"}}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/flights/book":{"post":{"operationId":"bookFlight","summary":"Book a flight offer (simulated payment)","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["offer_id","passenger_name","payment_token"],"properties":{"offer_id":{"type":"string","description":"From searchFlights"},"passenger_name":{"type":"string"},"passenger_email":{"type":"string"},"passengers":{"type":"integer","default":1},"payment_token":{"type":"string"},"channel":{"type":"string","enum":["gpt","mcp","acp"],"description":"Identify your agent type so the order is badged correctly on /orders. Custom GPTs should pass \"gpt\"."}}}}}},"responses":{"201":{"description":"Booking confirmed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}},"402":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/cars":{"get":{"operationId":"searchCars","summary":"Search rental cars","parameters":[{"name":"location","in":"query","required":true,"schema":{"type":"string"}},{"name":"pickup_date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"dropoff_date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"car_class","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/CarOffer"}}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/cars/book":{"post":{"operationId":"bookCar","summary":"Book a rental car (simulated payment)","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["offer_id","driver_name","payment_token"],"properties":{"offer_id":{"type":"string"},"driver_name":{"type":"string"},"driver_email":{"type":"string"},"payment_token":{"type":"string"},"channel":{"type":"string","enum":["gpt","mcp","acp"],"description":"Identify your agent type so the order is badged correctly on /orders. Custom GPTs should pass \"gpt\"."}}}}}},"responses":{"201":{"description":"Booking confirmed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}},"402":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/carts":{"post":{"operationId":"createCart","summary":"Create a cart","responses":{"201":{"description":"Cart created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}}}}},"/api/carts/{id}":{"get":{"operationId":"getCart","summary":"Get a cart with totals","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CartWithTotals"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/carts/{id}/items":{"post":{"operationId":"addToCart","summary":"Add an item to a cart","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["product_id"],"properties":{"product_id":{"type":"string"},"variant_id":{"type":"string"},"quantity":{"type":"integer","default":1}}}}}},"responses":{"201":{"description":"Item added","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Cart"}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/checkout":{"post":{"operationId":"checkout","summary":"Pay for a cart (simulated) and create an order","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["cart_id","payment_token"],"properties":{"cart_id":{"type":"string"},"payment_token":{"type":"string"},"buyer_name":{"type":"string"},"buyer_email":{"type":"string"},"channel":{"type":"string","enum":["gpt","mcp","acp"],"description":"Identify your agent type so the order is badged correctly on /orders. Custom GPTs should pass \"gpt\"."}}}}}},"responses":{"201":{"description":"Order created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"402":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/orders":{"get":{"operationId":"listOrdersAndBookings","summary":"Live feed of all orders and bookings (newest first)","parameters":[{"name":"after","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ActivityItem"}},"now":{"type":"string","format":"date-time"}}}}}}}}},"/api/orders/{id}":{"get":{"operationId":"getOrder","summary":"Get an order by id or confirmation number","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/bookings/{id}":{"get":{"operationId":"getBooking","summary":"Get a booking by id or confirmation number","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/acp/feed":{"get":{"operationId":"acpGetProductFeed","summary":"ACP product feed (one entry per variant)","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/FeedItem"}},"updated_at":{"type":"string","format":"date-time"}}}}}}}}},"/api/acp/checkout_sessions":{"post":{"operationId":"acpCreateCheckoutSession","summary":"ACP: create a checkout session","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Product/variant id from the feed"},"quantity":{"type":"integer","default":1}}}},"buyer":{"$ref":"#/components/schemas/AcpBuyer"},"fulfillment_address":{"$ref":"#/components/schemas/AcpAddress"}}}}}},"responses":{"201":{"description":"Session created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSession"}}}}}}},"/api/acp/checkout_sessions/{id}":{"get":{"operationId":"acpGetCheckoutSession","summary":"ACP: retrieve a session","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSession"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"post":{"operationId":"acpUpdateCheckoutSession","summary":"ACP: update items / address / fulfillment option","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"quantity":{"type":"integer","default":1}}}},"buyer":{"$ref":"#/components/schemas/AcpBuyer"},"fulfillment_address":{"$ref":"#/components/schemas/AcpAddress"},"fulfillment_option_id":{"type":"string","enum":["standard","express"]}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSession"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/acp/checkout_sessions/{id}/complete":{"post":{"operationId":"acpCompleteCheckoutSession","summary":"ACP: complete with a (simulated) shared payment token","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payment_data":{"type":"object","properties":{"token":{"type":"string","description":"spt_* approves; spt_declined_* declines"}}}}}}}},"responses":{"200":{"description":"Session completed; includes order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSession"}}}},"402":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/acp/checkout_sessions/{id}/cancel":{"post":{"operationId":"acpCancelCheckoutSession","summary":"ACP: cancel a session","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSession"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/api/demo/reset":{"post":{"operationId":"demoReset","summary":"Demo: clear all carts, orders, bookings and ACP sessions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"resetAt":{"type":"string","format":"date-time"}}}}}}}}}},"components":{"schemas":{"Money":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"Product":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"price":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"images":{"type":"array","items":{"type":"string"}},"variants":{"type":"array","items":{"$ref":"#/components/schemas/ProductVariant"}},"tags":{"type":"array","items":{"type":"string"}}}},"ProductVariant":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"available":{"type":"boolean"}}},"HotelSummary":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"city":{"type":"string"},"stars":{"type":"integer"},"description":{"type":"string"},"amenities":{"type":"array","items":{"type":"string"}},"fromNightlyCents":{"type":["integer","null"],"description":"Cheapest available nightly rate in cents; null if sold out."}}},"RoomAvailability":{"type":"object","properties":{"hotelId":{"type":"string"},"roomTypeId":{"type":"string"},"roomName":{"type":"string"},"sleeps":{"type":"integer"},"checkIn":{"type":"string","format":"date"},"checkOut":{"type":"string","format":"date"},"nights":{"type":"integer"},"roomsLeft":{"type":"integer","description":"0 means sold out for these dates."},"nightlyRates":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date"},"rate":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}}}}},"total":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}}}},"FlightOffer":{"type":"object","properties":{"id":{"type":"string","description":"Pass to bookFlight as offer_id."},"flightNumber":{"type":"string"},"carrier":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"date":{"type":"string","format":"date"},"departTime":{"type":"string"},"arriveTime":{"type":"string"},"durationMin":{"type":"integer"},"cabin":{"type":"string","enum":["economy","business"]},"fare":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"seatsLeft":{"type":"integer","description":"0 means sold out."}}},"CarOffer":{"type":"object","properties":{"id":{"type":"string","description":"Pass to bookCar as offer_id."},"classId":{"type":"string"},"className":{"type":"string"},"example":{"type":"string"},"seats":{"type":"integer"},"location":{"type":"string"},"pickupDate":{"type":"string","format":"date"},"dropoffDate":{"type":"string","format":"date"},"days":{"type":"integer"},"dailyRate":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"total":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"available":{"type":"boolean"}}},"CartItem":{"type":"object","properties":{"productId":{"type":"string"},"productName":{"type":"string"},"variantId":{"type":"string"},"variantLabel":{"type":"string"},"quantity":{"type":"integer"},"unitPrice":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}}}},"Cart":{"type":"object","properties":{"id":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CartItem"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"CartWithTotals":{"type":"object","properties":{"id":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CartItem"}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"totals":{"type":"object","properties":{"subtotal":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"tax":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"total":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}}}}}},"Order":{"type":"object","properties":{"id":{"type":"string"},"confirmationNumber":{"type":"string"},"channel":{"type":"string","enum":["web","mcp","acp","gpt"]},"items":{"type":"array","items":{"$ref":"#/components/schemas/CartItem"}},"subtotal":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"tax":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"total":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"}}},"Booking":{"type":"object","properties":{"id":{"type":"string"},"confirmationNumber":{"type":"string"},"channel":{"type":"string","enum":["web","mcp","acp","gpt"]},"kind":{"type":"string","enum":["hotel","flight","car"]},"ref":{"type":"object","description":"Kind-specific details — hotel stay, flight segment, or rental.","properties":{"kind":{"type":"string"},"hotelName":{"type":"string"},"roomName":{"type":"string"},"checkIn":{"type":"string"},"checkOut":{"type":"string"},"nights":{"type":"integer"},"flightNumber":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"date":{"type":"string"},"cabin":{"type":"string"},"className":{"type":"string"},"location":{"type":"string"},"pickupDate":{"type":"string"},"dropoffDate":{"type":"string"}}},"guest":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}}},"total":{"type":"object","properties":{"amountCents":{"type":"integer"},"currency":{"type":"string"}}},"status":{"type":"string","enum":["confirmed","canceled"]},"createdAt":{"type":"string","format":"date-time"}}},"ActivityItem":{"type":"object","properties":{"type":{"type":"string","enum":["order","booking"]},"createdAt":{"type":"string","format":"date-time"},"order":{"$ref":"#/components/schemas/Order"},"booking":{"$ref":"#/components/schemas/Booking"}}},"FeedItem":{"type":"object","properties":{"id":{"type":"string"},"item_group_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"link":{"type":"string"},"image_link":{"type":"string"},"price":{"type":"string","description":"e.g. \"29.00 USD\""},"availability":{"type":"string","enum":["in_stock","out_of_stock"]},"condition":{"type":"string"},"brand":{"type":"string"},"product_category":{"type":"string"},"enable_checkout":{"type":"boolean"}}},"AcpBuyer":{"type":"object","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"phone_number":{"type":"string"}}},"AcpAddress":{"type":"object","properties":{"name":{"type":"string"},"line_one":{"type":"string"},"line_two":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"postal_code":{"type":"string"}}},"AcpLineItem":{"type":"object","properties":{"id":{"type":"string"},"item":{"type":"object","properties":{"id":{"type":"string"},"quantity":{"type":"integer"}}},"base_amount":{"type":"integer"},"discount":{"type":"integer"},"subtotal":{"type":"integer"},"tax":{"type":"integer"},"total":{"type":"integer"}}},"AcpCheckoutSession":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["not_ready_for_payment","ready_for_payment","completed","canceled"]},"currency":{"type":"string"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/AcpLineItem"}},"buyer":{"$ref":"#/components/schemas/AcpBuyer"},"fulfillment_address":{"$ref":"#/components/schemas/AcpAddress"},"fulfillment_options":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"},"carrier":{"type":"string"},"subtotal":{"type":"integer"},"tax":{"type":"integer"},"total":{"type":"integer"}}}},"fulfillment_option_id":{"type":"string"},"totals":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"display_text":{"type":"string"},"amount":{"type":"integer"}}}},"messages":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"code":{"type":"string"},"content_type":{"type":"string"},"content":{"type":"string"}}}},"links":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"url":{"type":"string"}}}},"order":{"type":"object","properties":{"id":{"type":"string"},"checkout_session_id":{"type":"string"},"permalink_url":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"}}}}}}