Documentação do fornecedor

Alimente seu aplicativo e recupere os pedidos através da API.

Conecte seu ERP, plataforma de e-commerce, POS ou software de negócios para SellViaApp. Envie categorias, produtos e preços, e depois recupere os pedidos confirmados como JSON.

URL basehttps://api.sellviaapp.com/
Required headersX-API-Key + Bearer
Developer supportapi@sellviaapp.com

Início rápido

Authenticate, choose a route, test.

Get the X-API-Key and generate the Bearer in Dashboard → API. Enter them below, then use “Test · Generate” on an endpoint to obtain the response and cURL, PHP 8 or JavaScript code.

Credentials incompleteEnter the X-API-Key and Bearer token to prepare a test.

Credentials remain in memory for this page only. For a customer-related operation, add customer_id.

Keep in mindHTTPS + JSON · keep both credentials server-side · never send tokens to support.

Real time

Connect SellViaApp to any HTTPS-capable system.

A webhook alerts your ERP, CRM, automation or software whenever a product, customer, cart, order, document or important setting changes. Use the API to retrieve the full authoritative object when needed.

Create the destination

In Dashboard → Webhooks, enter an HTTPS URL and select events. The secret is shown once.

Verify the signature

Compute HMAC-SHA256 over timestamp.delivery_id.raw_body and compare it with X-SellViaApp-Signature.

Acknowledge quickly

Return HTTP 2xx, deduplicate with X-SellViaApp-Event-Id, then process in the background.

Reliable deliveryUp to eight attempts with progressive delays. A repeatedly failing destination is paused automatically, and every delivery remains visible and retryable in the Dashboard.
payload = timestamp + "." + delivery_id + "." + raw_body
expected = "v1=" + HMAC_SHA256(payload, signing_secret)

Pontos finais

Clientes

Crie e gerencie contas de clientes para cada loja.

5 routes
POST /customer/add Chave da API

Crie um cliente e gere o login do fornecedor.

GET /customer/list Chave + Carregador

Listar ou filtrar informações autorizadas do cliente.

GET /customer/me Chave + Carregador

Obtenha o perfil do cliente autenticado.

PATCH /customer/update Chave + Carregador

Atualizar perfil, idioma, tipo, e-mail ou senha.

DELETE /customer/deleteaccount Chave + Carregador

Desativar a conta do cliente na loja ativa.

Pontos finais

Catálogo

Categorias, produtos, imagens, preços, ações, promoções e favoritos.

18 routes
GET /fam1/list Chave + Carregador

Listar as categorias primárias.

POST /fam1/add Chave + Carregador

Criar uma categoria primária.

PATCH /fam1/update Chave + Carregador

Atualizar uma categoria primária.

DELETE /fam1/delete Chave + Carregador

Esconder uma categoria primária.

GET /fam2/list Chave + Carregador

Listar subcategorias.

POST /fam2/add Chave + Carregador

Criar uma subcategoria.

PATCH /fam2/update Chave + Carregador

Actualizar uma subcategoria.

DELETE /fam2/delete Chave + Carregador

Esconder uma subcategoria.

GET /product/list Chave + Carregador

Listar e procurar produtos com paginação.

GET /product/image URL Assinado

Sirva uma imagem de produto assinada e cashável.

POST /product/add Chave + Carregador

Criar um produto.

PATCH /product/update Chave + Carregador

Actualize um produto.

DELETE /product/delete Chave + Carregador

Esconder um produto.

POST /product/favoris Chave + Carregador

Adicione ou remova um produto dos favoritos.

GET /price/list Chave + Carregador

List prices applicable to the customer group, falling back to the product sales price.

GET /mark/list Chave + Carregador

Listar as marcas disponíveis.

GET /size/list Chave + Carregador

Listar os tamanhos disponíveis.

GET /libweb/list Chave + Carregador

List web reference labels, falling back to catalogue labels.

Pontos finais

Carrinho e encomendas

Gerencie o carrinho e confirme uma ordem atomicamente.

10 routes
GET /order/list Chave + Carregador

List every confirmed shop order with pagination.

DELETE /order/delete Chave + Carregador

Limpar e apagar o carrinho atual.

GET /order/total Chave + Carregador

Calcular o carrinho subtotal, o IVA e o total.

POST /order/shipping/quote Chave + Carregador

Calculate shipping fees from the cart, fulfilment mode and country.

GET /order/count/line Chave + Carregador

Conta as linhas na carroça.

POST /order/sendtomegawin Chave + Carregador

Confirme a ordem, o modo de cumprimento e o endereço.

POST /orderline/add Chave + Carregador

Adicionar um produto e quantidade ao carrinho.

GET /orderline/list Chave + Carregador

Recupera as linhas atuais do carrinho.

PATCH /orderline/update Chave + Carregador

Atualizar uma quantidade de linha.

DELETE /orderline/delete Chave + Carregador

Remova uma linha do carrinho.

Pontos finais

Customer payments

Choose pay on delivery or open a secure Stripe payment, then retrieve its server-verified status.

4 routes
GET /payment/config Chave + Carregador

Retrieve the enabled Stripe payment methods and the Stripe account provider selected for the app.

POST /payment/checkout/create Chave + Carregador

Create or resume a Stripe Checkout page for an unpaid order or booking owned by the signed-in customer. A still-changeable pay-on-delivery choice is safely replaced.

POST /payment/pay-later Chave + Carregador

Record pay on delivery or replace a still-open Stripe payment after its session is securely checked and expired.

GET /payment/status Chave + Carregador

Retrieve a payment status; only the signed Stripe webhook can confirm it as paid.

Pontos finais

Documentos

Faturas, estimativas, ordens e suas linhas.

8 routes
POST /document/add Chave + Carregador

Crie um documento ligado ao cliente.

GET /document/list Chave + Carregador

Listar ou filtrar documentos.

PATCH /document/update Chave + Carregador

Atualizar um documento identificado pelo GUID.

DELETE /document/delete Chave + Carregador

Apagar um documento e as suas linhas.

POST /documentline/add Chave + Carregador

Adicione uma linha e recalcule o documento.

GET /documentline/list Chave + Carregador

Recupere um documento com todas as suas linhas.

PATCH /documentline/update Chave + Carregador

Atualizar uma linha identificada pelo GUID.

DELETE /documentline/delete Chave + Carregador

Apagar uma linha e recalcular os totais.

Pontos finais

Real-time webhooks

Automatically receive SellViaApp changes in your ERP, CRM, automation or business service.

10 routes
GET /webhooks/events Chave + Carregador

List all available events and the contract version.

GET /webhooks/endpoints/list Chave + Carregador

List destinations, status and counters.

POST /webhooks/endpoints/create Chave + Carregador

Create an HTTPS destination and receive its signing secret once.

PATCH /webhooks/endpoints/update Chave + Carregador

Update the destination, events or pause delivery.

DELETE /webhooks/endpoints/delete Chave + Carregador

Soft-delete a destination.

POST /webhooks/endpoints/rotate-secret Chave + Carregador

Replace the HMAC secret and reveal it once.

GET /webhooks/deliveries/list Chave + Carregador

Inspect deliveries, responses, errors and attempts.

POST /webhooks/deliveries/retry Chave + Carregador

Retry one delivery without replaying the others.

POST /webhooks/test Chave + Carregador

Emit and deliver a signed test event.

GET /webhooks/stats Chave + Carregador

Retrieve the last thirty days of delivery metrics.

Pontos finais

Notifications and integrations

Mobile notifications and external synchronisation.

47 routes
GET /admin/notification/sendtomobile Chave + Carregador

Recupere notificações móveis.

POST /admin/notification/setdelivery Chave + Carregador

Marcar uma notificação conforme entregue.

POST /woocommerce/categories/sync Chave + Carregador

Batch-sync WooCommerce categories and subcategories.

POST /woocommerce/products/sync Chave + Carregador

Sync products, variations, images, prices, VAT, stock and visibility.

POST /woocommerce/customers/sync Chave + Carregador

Create or update WooCommerce customer accounts without sending email.

PATCH /woocommerce/products/inventory Chave + Carregador

Quickly update prices, promotions, stock or visibility only.

POST /woocommerce/products/archive Chave + Carregador

Batch-archive deleted WooCommerce products without changing orders.

GET /woocommerce/orders/feed Chave + Carregador

Retrieve confirmed orders with cursor-based reconciliation.

POST /woocommerce/orders/acknowledge Chave + Carregador

Confirm that an order was imported into WooCommerce.

POST /woocommerce/webhooks/subscribe Chave + Carregador

Register a signed HTTPS WooCommerce webhook.

GET /woocommerce/webhooks/list Chave + Carregador

List active WooCommerce webhooks.

DELETE /woocommerce/webhooks/delete Chave + Carregador

Disable a WooCommerce webhook.

POST /woocommerce/webhooks/process Chave + Carregador

Process pending webhook deliveries with automatic retries.

GET /woocommerce/sync/logs Chave + Carregador

View the technical synchronisation log.

POST /shopify/categories/sync Chave + Carregador

Sync Shopify collections and product types.

POST /shopify/categories/archive Chave + Carregador

Archive a deleted Shopify collection.

POST /shopify/products/sync Chave + Carregador

Sync Shopify products, variants, images, prices, inventory and visibility.

PATCH /shopify/products/inventory Chave + Carregador

Quickly update Shopify prices, inventory or visibility.

POST /shopify/products/archive Chave + Carregador

Archive Shopify variants by identifier.

POST /shopify/products/archive-parent Chave + Carregador

Archive every variant of a deleted Shopify product.

POST /shopify/customers/sync Chave + Carregador

Sync Shopify customers without sending email.

POST /shopify/customers/redact Chave + Carregador

Redact customer data requested by Shopify.

GET /shopify/orders/feed Chave + Carregador

Retrieve SellViaApp orders not yet imported into Shopify.

POST /shopify/orders/acknowledge Chave + Carregador

Acknowledge a Shopify order import.

POST /shopify/webhooks/subscribe Chave + Carregador

Register the signed SellViaApp webhook for Shopify.

GET /shopify/webhooks/list Chave + Carregador

List Shopify connector webhooks.

DELETE /shopify/webhooks/delete Chave + Carregador

Disable a Shopify webhook.

POST /shopify/webhooks/process Chave + Carregador

Retry pending Shopify notifications.

GET /shopify/account Chave + Carregador

Identify the store and retrieve its mobile test account.

GET /shopify/sync/logs Chave + Carregador

View Shopify logs isolated from WooCommerce.

POST /wix/connect Público

Connect a Wix instance to an existing SellViaApp Dashboard account.

GET /wix/account Chave + Carregador

Identify the SellViaApp account connected to Wix and its mobile test account.

POST /wix/disconnect Chave + Carregador

Revoke the connector token and disconnect Wix.

POST /wix/categories/sync Chave + Carregador

Synchronise Wix Stores V1/V3 categories or collections.

POST /wix/products/sync Chave + Carregador

Synchronise Wix products with images, prices, inventory and visibility.

PATCH /wix/products/inventory Chave + Carregador

Quickly update Wix prices, inventory or visibility.

POST /wix/products/archive Chave + Carregador

Archive deleted Wix products.

POST /wix/customers/sync Chave + Carregador

Synchronise Wix contacts without sending email.

POST /wix/customers/redact Chave + Carregador

Redact one or more synchronised Wix contacts.

POST /wix/privacy/shop-redact Chave + Carregador

Remove Wix-origin data after uninstall.

GET /wix/orders/feed Chave + Carregador

Read SellViaApp orders to reconcile with Wix.

POST /wix/orders/acknowledge Chave + Carregador

Record the result of a Wix order reconciliation.

POST /wix/webhooks/subscribe Chave + Carregador

Create a signed SellViaApp destination for the Wix connector.

GET /wix/webhooks/list Chave + Carregador

List SellViaApp webhooks for the Wix connector.

DELETE /wix/webhooks/delete Chave + Carregador

Disable a Wix connector webhook.

POST /wix/webhooks/process Chave + Carregador

Process pending SellViaApp deliveries for Wix.

GET /wix/sync/logs Chave + Carregador

View the isolated Wix synchronisation log.

Reference

Responses and errors

Each row has a “Parameters and responses” button showing required or optional fields, possible statuses and JSON examples. An empty list means the resource is not populated yet, not that the endpoint is down.

400Pedido inválido
401Autenticação necessária
403Acesso negado
404Recurso ou rota não encontrado
409Conflito de negócios
422A validação falhou
429Muitos pedidos
5xxIncidente técnico

Área de trabalho da API

Endpoint

GET

O código gerado contém as credenciais introduzidas. Guarde-as no servidor e nunca partilhe uma captura sem as ocultar.

Pronto para testar