action envoice_order_api_all { label: "Return all orders for the account" provider: envoice method: GET path: "/api/order/all" encoding: json input: { type: "object" properties: { "queryOptions.page": { type: "integer" format: "int32" } "queryOptions.pageSize": { type: "integer" format: "int32" } "x-auth-key": { type: "string" } "x-auth-secret": { type: "string" } } required: ["x-auth-key", "x-auth-secret"] additionalProperties: false } output: { type: "object" properties: { Count: { type: "integer" format: "int32" } ErrorMessages: { type: "array" items: { type: "object" properties: { Code: { type: "string" } FaultMessage: { type: "string" } Group: { type: "string" } UserVisibleMessage: { type: "string" } } } } IsFaulted: { type: "boolean" } Result: { type: "array" items: { type: "object" properties: { AccessToken: { type: "string" description: "Product short link" } AfterPaymentDescription: { type: "string" description: "After payment description" } CouponCode: { type: "string" description: "Coupon to apply in order to get the discount" } Currency: { type: "object" properties: { Code: { type: "string" description: "Currency short numeric code" } Id: { type: "integer" format: "int32" description: "Entity id" } Name: { type: "string" description: "Name of the country" } Symbol: { type: "string" description: "Currency symbol" } Value: { type: "string" description: "Currency short alpha code" } } } CurrencyId: { type: "integer" format: "int32" description: "Foreign key Currency" } Description: { type: "string" description: "Product description" } DiscountAmount: { type: "number" format: "double" description: "Discount amount" } Id: { type: "integer" format: "int32" description: "Order id" } Name: { type: "string" description: "Product alias" } Note: { type: "string" description: "Customer note to seller" } OrderBillingDetails: { type: "object" properties: { Address: { type: "string" description: "Client street and number" } CountryId: { type: "integer" format: "int32" description: "Client country id" } Email: { type: "string" description: "Client email" } Name: { type: "string" description: "Client name" } PhoneNumber: { type: "string" description: "Client phone number" } } } OrderShippingDetails: { type: "object" properties: { Address: { type: "string" description: "Client street and number" } CountryId: { type: "integer" format: "int32" description: "Client country id" } Email: { type: "string" description: "Client email" } Name: { type: "string" description: "Client name" } PhoneNumber: { type: "string" description: "Client phone number" } } } ProductId: { type: "integer" format: "int32" description: "Product id" } Referral: { type: "string" description: "Represent the referral for this order" } ShippingAmount: { type: "number" format: "double" description: "Cost for shipping the product" } ShippingDescription: { type: "string" description: "Client instructions for shipping" } Status: { type: "string" description: "Order status" enum: ["PendingPayment", "Processing", "Shipped", "Completed", "OnHold", "Cancelled", "Refunded", "Failed"] } SubTotalAmount: { type: "number" format: "double" description: "Sub total amount" } TaxAmount: { type: "number" format: "double" description: "Tax amount" } TotalAmount: { type: "number" format: "double" description: "Total amount" } TotalWithShipping: { type: "number" format: "double" description: "Total amount with shipping" } WhatHappensNextDescription: { type: "string" description: "What happens next description" } } } } TotalCount: { type: "integer" format: "int32" } } } }