openapi: 3.2.0 info: title: Automile Order API version: v1 tags: - name: Order paths: /v1/integration/order: post: tags: - Order summary: Creates a new order operationId: CreateOrder responses: '200': description: Creates new order '500': description: Internal server error security: - oauth2: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateOrderModel' text/json: schema: $ref: '#/components/schemas/CreateOrderModel' application/*+json: schema: $ref: '#/components/schemas/CreateOrderModel' description: The CreateOrderModel components: schemas: CreateOrderModel: required: - BillingAddress - BillingAddressCountry - BillingAddressState - BillingAddressZipCode - Company - Email - FirstName - LastName - MobilePhoneNumber - NumberOfDevices - OfficePhoneNumber - ShippingAddress - ShippingAddressCountry - ShippingAddressState - ShippingAddressZipCode - SubscriptionCurrency type: object properties: Company: minLength: 1 type: string FirstName: minLength: 1 type: string LastName: minLength: 1 type: string Email: minLength: 1 type: string NumberOfDevices: format: int32 type: integer ShippingAddress: minLength: 1 type: string ShippingAddressZipCode: minLength: 1 type: string ShippingAddressState: minLength: 1 type: string ShippingAddressCountry: minLength: 1 type: string BillingAddress: minLength: 1 type: string BillingAddressZipCode: minLength: 1 type: string BillingAddressState: minLength: 1 type: string BillingAddressCountry: minLength: 1 type: string UseShippingAddressAsBillingAddress: type: boolean SubscriptionCurrency: minLength: 1 type: string MobilePhoneNumber: minLength: 1 type: string OfficePhoneNumber: minLength: 1 type: string LeadId: format: int32 type: integer additionalProperties: false securitySchemes: oauth2: type: oauth2 flows: implicit: scopes: read: Read access to protected resources write: Write access to protected resources authorizationUrl: https://api.automile.com/login/ description: OAuth2 Implicit Grant x-provenance: method: harvested publisher: Automileab source: https://api.automile.com/swagger/v1/swagger.json note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json); stamped by stamp-openapi-provenance.py (roadmap#793)