action envoice_product_api_all { label: "Return all products for the account" provider: envoice method: GET path: "/api/product/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" } ButtonCallToAction: { type: "string" description: "Default button call to action \nEx: Buy now, subscribe, ..." } 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" } Id: { type: "integer" format: "int32" description: "Product id" } IsFeatured: { type: "boolean" description: "Indicate that the product is set as featured" } Name: { type: "string" description: "Product alias" } ShippingAmount: { type: "number" format: "double" description: "Cost for shipping the product" } ShippingDescription: { type: "string" description: "Client instructions for shipping" } Status: { type: "string" description: "Product availability status" enum: ["Active", "NotAvailable", "Inactive"] } SubTotalAmount: { type: "number" format: "double" description: "Subtotal amount of product" } TotalAmount: { type: "number" format: "double" description: "Total amount of product" } TotalWithShipping: { type: "number" format: "double" description: "Total amount of product with shipping" } WhatHappensNextDescription: { type: "string" description: "What happens next description" } } } } TotalCount: { type: "integer" format: "int32" } } } }