{"openapi":"3.1.0","info":{"title":"PrepToShip quote request","version":"1.0.0","description":"Request an FBA/WFS prep estimate on behalf of a seller. The estimate is returned and emailed to the seller; our team replies by email."},"servers":[{"url":"https://preptoship.com"}],"paths":{"/api/public/quote-request":{"post":{"operationId":"requestQuote","summary":"Request a prep quote","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["email","units"],"properties":{"email":{"type":"string","format":"email","maxLength":200},"units":{"type":"integer","minimum":1,"maximum":10000},"asin_or_link":{"type":"string","maxLength":300},"marketplace":{"type":"string","enum":["amazon_fba","walmart_wfs","fbm"]},"poly_bag_units":{"type":"integer","minimum":0,"maximum":10000},"bubble_wrap_units":{"type":"integer","minimum":0,"maximum":10000},"bundles":{"type":"integer","minimum":0,"maximum":10000},"outbound_cartons":{"type":"integer","minimum":0,"maximum":1000},"note":{"type":"string","maxLength":2000},"name":{"type":"string","maxLength":100},"company":{"type":"string","maxLength":150},"utm_source":{"type":"string","maxLength":100},"utm_medium":{"type":"string","maxLength":100},"utm_campaign":{"type":"string","maxLength":100},"utm_content":{"type":"string","maxLength":100},"utm_term":{"type":"string","maxLength":100}}}}}},"responses":{"200":{"description":"Estimate computed and emailed","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"message":{"type":"string"},"estimate":{"type":"object","properties":{"service":{"type":"string"},"currency":{"const":"USD"},"lines":{"type":"array","items":{"type":"object","properties":{"item":{"type":"string"},"detail":{"type":"string"},"amount":{"type":"string"}}}},"total":{"type":"string"},"total_cents":{"type":"integer"},"notes":{"type":"array","items":{"type":"string"}},"pricing_url":{"type":"string"}}},"fbm_note":{"type":"string"}}}}}},"400":{"description":"Invalid input (see `fields`)"},"413":{"description":"Body larger than 8 KB"},"415":{"description":"Content-Type is not application/json"},"429":{"description":"Rate limited"}}}}}}