{"info":{"title":"Cartwright Commerce API","version":"3.2.0"},"openapi":"3.0.0","paths":{"/api/addresses/{id}":{"get":{"summary":"Get an address"}},"/api/admin/export":{"get":{"summary":"Export all orders (staff)"}},"/api/admin/users":{"get":{"summary":"List users (staff)"}},"/api/cart/add":{"post":{"summary":"Add a line to the cart"}},"/api/checkout":{"post":{"summary":"Place an order"}},"/api/invoices/{id}":{"get":{"summary":"Get an invoice"}},"/api/login":{"post":{"summary":"Obtain an API token"}},"/api/me":{"get":{"summary":"Current principal"}},"/api/orders/{id}":{"get":{"summary":"Get an order"}},"/api/products/search":{"get":{"parameters":[{"in":"query","name":"q","schema":{"type":"string"}}],"summary":"Search products"}},"/api/profile":{"post":{"summary":"Update your profile"}},"/api/seller/fetch-image":{"post":{"summary":"Import a product image by URL"}},"/api/seller/import-catalog":{"post":{"summary":"Import a catalog XML/CSV"}},"/api/seller/thumbnail":{"post":{"summary":"Generate a product thumbnail"}},"/api/store-config/restore":{"post":{"summary":"Restore store settings from YAML"}}}}
