Documentación de proveedores

Alimenta tu aplicación y recupera pedidos a través de la API

Conecta tu ERP, plataforma de comercio electrónico, POS o software de negocios para SellViaApp. Enviar categorías, productos y precios, luego recuperar pedidos confirmados de compra como JSON.

Inicio rápido

Autentizar, elegir una ruta, probar.

Obtenga el X-API-Key y genere el token Bearer en Dashboard → API. Introduzca ambos abajo. Después, pulse «Probar · Generar» en un endpoint para ver la respuesta y el código de ejemplo en cURL, PHP 8 o JavaScript.

Credenciales incompletasIntroduzca el token X-API-Key y Bearer para preparar una prueba.

Las credenciales permanecen en memoria sólo para esta página. Para una operación relacionada con el cliente, añadir customer_id.

Keep in mindHTTPS + JSON · mantener ambas credenciales lado servidor · nunca enviar fichas para apoyar.

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)

Puntos finales

Clientes

Crear y gestionar cuentas de clientes para cada tienda.

5 routes
POST /customer/add Clave de API

Cree un cliente y genere el acceso del proveedor.

GET /customer/list Llav + portador

Lista o filtro de información autorizada al cliente.

GET /customer/me Llav + portador

Recuperar el perfil de cliente firmado.

PATCH /customer/update Llav + portador

Actualizar perfil, idioma, tipo, correo electrónico o contraseña.

DELETE /customer/deleteaccount Llav + portador

Desactivar la cuenta de cliente en la tienda activa.

Puntos finales

Catálogo

Categorías, productos, imágenes, precios, stock, promociones y favoritos.

28 routes
GET /fam1/list Llav + portador

Lista de categorías primarias.

POST /fam1/add Llav + portador

Crear una categoría primaria.

PATCH /fam1/update Llav + portador

Actualizar una categoría primaria.

DELETE /fam1/delete Llav + portador

Esconder una categoría primaria.

GET /fam2/list Llav + portador

Lista subcategorías.

POST /fam2/add Llav + portador

Cree una subcategoría.

PATCH /fam2/update Llav + portador

Actualice una subcategoría.

DELETE /fam2/delete Llav + portador

Ocultar una subcategoría.

GET /product/list Llav + portador

Listar y buscar productos con paginación.

GET /product/variants Llav + portador

Retrieve a product’s variant groups and combinations.

POST /product/variants Llav + portador

Replace a product’s variant groups and combinations.

GET /product/options Llav + portador

Retrieve a product’s option groups and optional extras.

POST /product/options Llav + portador

Replace a product’s option groups and optional extras.

GET /product/image URL firmada

Servir una imagen de producto firmada y cacheable.

POST /product/add Llav + portador

Cree un producto.

PATCH /product/update Llav + portador

Actualizar un producto.

GET /product/action Llav + portador

Retrieve a product action type and its settings.

PUT /product/action/configure Llav + portador

Configure direct purchase, auction or information request and their settings.

DELETE /product/delete Llav + portador

Ocultar un producto.

POST /product/favoris Llav + portador

Añadir o quitar un producto de los favoritos.

GET /product/auction Llav + portador

Retrieve an auction state and anonymised bid history.

POST /product/auction/bid Llav + portador

Place a bid with atomic minimum-amount validation.

POST /product/auction/buy-now Llav + portador

Buy now and atomically close the auction.

POST /product/inquiry Llav + portador

Send an information request linked to a product.

GET /price/list Llav + portador

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

GET /mark/list Llav + portador

Lista de marcas disponibles.

GET /size/list Llav + portador

Lista de tamaños disponibles.

GET /libweb/list Llav + portador

List web reference labels, falling back to catalogue labels.

Puntos finales

Carrito y pedidos

Administrar el carrito y confirmar un pedido atómico.

14 routes
GET /order/list Llav + portador

List every confirmed shop order with pagination.

DELETE /order/delete Llav + portador

Limpiar y eliminar el carro actual.

GET /order/total Llav + portador

Calcular el subtotal de la cesta, IVA y total.

POST /promotion/validate Llav + portador

Validate a promotion code against the current cart on the server and calculate net, VAT and total discounts.

GET /loyalty/summary Llav + portador

Retrieve the loyalty programme, customer balance and available discount value.

GET /loyalty/history Llav + portador

List the customer’s earning, redemption, correction and expiry history.

POST /loyalty/quote Llav + portador

Calculate server-side how many points can be redeemed against the current cart.

POST /order/shipping/quote Llav + portador

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

GET /order/count/line Llav + portador

Cuenta líneas en el carro.

POST /order/sendtomegawin Llav + portador

Confirm the order, delivery and, in multi-site mode, the chosen stock location.

POST /orderline/add Llav + portador

Añadir un producto y cantidad a la cesta.

GET /orderline/list Llav + portador

Recuperar las líneas de carro actuales.

PATCH /orderline/update Llav + portador

Actualizar una cantidad de línea.

DELETE /orderline/delete Llav + portador

Quita una línea del carrito.

Puntos finales

Pagos de clientes

Elija pagar en la entrega o abrir un pago seguro de Stripe, luego recuperar su estado verificado por servidor.

4 routes
GET /payment/config Llav + portador

Recuperar los métodos de pago de Stripe habilitados y el proveedor de cuenta de Stripe seleccionado para la aplicación.

POST /payment/checkout/create Llav + portador

Crear o reanudar una página de Checkout de Stripe para un pedido no pagado o reserva propiedad del cliente firmado. Se reemplaza con seguridad una opción de pago por entrega que sigue cambiando.

POST /payment/pay-later Llav + portador

Pago de registro en la entrega o reemplazar un pago de Stripe todavía abierto después de que su sesión sea verificada y expirada de forma segura.

GET /payment/status Llav + portador

Recuperar un estado de pago; sólo el webhook firmado Stripe puede confirmarlo como pagado.

Puntos finales

Documentos

Facturas, estimaciones, órdenes y sus líneas.

8 routes
POST /document/add Llav + portador

Crear un documento relacionado con el cliente.

GET /document/list Llav + portador

Lista o filtración de documentos.

PATCH /document/update Llav + portador

Actualizar un documento identificado por GUID.

DELETE /document/delete Llav + portador

Eliminar un documento y sus líneas.

POST /documentline/add Llav + portador

Agregue una línea y recalcule el documento.

GET /documentline/list Llav + portador

Recuperar un documento con todas sus líneas.

PATCH /documentline/update Llav + portador

Actualizar una línea identificada por GUID.

DELETE /documentline/delete Llav + portador

Eliminar una línea y recalcular los totales.

Puntos finales

Real-time webhooks

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

10 routes
GET /webhooks/events Llav + portador

List all available events and the contract version.

GET /webhooks/endpoints/list Llav + portador

List destinations, status and counters.

POST /webhooks/endpoints/create Llav + portador

Create an HTTPS destination and receive its signing secret once.

PATCH /webhooks/endpoints/update Llav + portador

Update the destination, events or pause delivery.

DELETE /webhooks/endpoints/delete Llav + portador

Soft-delete a destination.

POST /webhooks/endpoints/rotate-secret Llav + portador

Replace the HMAC secret and reveal it once.

GET /webhooks/deliveries/list Llav + portador

Inspect deliveries, responses, errors and attempts.

POST /webhooks/deliveries/retry Llav + portador

Retry one delivery without replaying the others.

POST /webhooks/test Llav + portador

Emit and deliver a signed test event.

GET /webhooks/stats Llav + portador

Retrieve the last thirty days of delivery metrics.

Puntos finales

Notifications and integrations

Mobile notifications and external synchronisation.

64 routes
GET /admin/notification/sendtomobile Llav + portador

Recuperar las notificaciones móviles.

POST /admin/notification/setdelivery Llav + portador

Marcar una notificación como entregada.

POST /push/device/register Llav + portador

Associate a mobile installation with this customer account for Firebase push.

POST /push/device/unregister Llav + portador

Remove this shop from push notifications on this device.

POST /push/notification/ack Llav + portador

Acknowledge a notification observed in the app or opened by the customer.

POST /woocommerce/categories/sync Llav + portador

Batch-sync WooCommerce categories and subcategories.

POST /woocommerce/products/sync Llav + portador

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

POST /woocommerce/customers/sync Llav + portador

Create or update WooCommerce customer accounts without sending email.

PATCH /woocommerce/products/inventory Llav + portador

Quickly update prices, promotions, stock or visibility only.

POST /woocommerce/products/archive Llav + portador

Batch-archive deleted WooCommerce products without changing orders.

GET /woocommerce/orders/feed Llav + portador

Retrieve confirmed orders with cursor-based reconciliation.

POST /woocommerce/orders/acknowledge Llav + portador

Confirm that an order was imported into WooCommerce.

POST /woocommerce/webhooks/subscribe Llav + portador

Register a signed HTTPS WooCommerce webhook.

GET /woocommerce/webhooks/list Llav + portador

List active WooCommerce webhooks.

DELETE /woocommerce/webhooks/delete Llav + portador

Disable a WooCommerce webhook.

POST /woocommerce/webhooks/process Llav + portador

Process pending webhook deliveries with automatic retries.

GET /woocommerce/sync/logs Llav + portador

View the technical synchronisation log.

POST /shopify/categories/sync Llav + portador

Sync Shopify collections and product types.

POST /shopify/categories/archive Llav + portador

Archive a deleted Shopify collection.

POST /shopify/products/sync Llav + portador

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

PATCH /shopify/products/inventory Llav + portador

Quickly update Shopify prices, inventory or visibility.

POST /shopify/products/archive Llav + portador

Archive Shopify variants by identifier.

POST /shopify/products/archive-parent Llav + portador

Archive every variant of a deleted Shopify product.

POST /shopify/customers/sync Llav + portador

Sync Shopify customers without sending email.

POST /shopify/customers/redact Llav + portador

Redact customer data requested by Shopify.

GET /shopify/orders/feed Llav + portador

Retrieve SellViaApp orders not yet imported into Shopify.

POST /shopify/orders/acknowledge Llav + portador

Acknowledge a Shopify order import.

POST /shopify/webhooks/subscribe Llav + portador

Register the signed SellViaApp webhook for Shopify.

GET /shopify/webhooks/list Llav + portador

List Shopify connector webhooks.

DELETE /shopify/webhooks/delete Llav + portador

Disable a Shopify webhook.

POST /shopify/webhooks/process Llav + portador

Retry pending Shopify notifications.

GET /shopify/account Llav + portador

Identify the store and retrieve its mobile test account.

GET /shopify/sync/logs Llav + portador

View Shopify logs isolated from WooCommerce.

POST /wix/connect Público

Connect a Wix instance to an existing SellViaApp Dashboard account.

GET /wix/account Llav + portador

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

POST /wix/disconnect Llav + portador

Revoke the connector token and disconnect Wix.

POST /wix/categories/sync Llav + portador

Synchronise Wix Stores V1/V3 categories or collections.

POST /wix/products/sync Llav + portador

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

PATCH /wix/products/inventory Llav + portador

Quickly update Wix prices, inventory or visibility.

POST /wix/products/archive Llav + portador

Archive deleted Wix products.

POST /wix/customers/sync Llav + portador

Synchronise Wix contacts without sending email.

POST /wix/customers/redact Llav + portador

Redact one or more synchronised Wix contacts.

POST /wix/privacy/shop-redact Llav + portador

Remove Wix-origin data after uninstall.

GET /wix/orders/feed Llav + portador

Read SellViaApp orders to reconcile with Wix.

POST /wix/orders/acknowledge Llav + portador

Record the result of a Wix order reconciliation.

POST /wix/webhooks/subscribe Llav + portador

Create a signed SellViaApp destination for the Wix connector.

GET /wix/webhooks/list Llav + portador

List SellViaApp webhooks for the Wix connector.

DELETE /wix/webhooks/delete Llav + portador

Disable a Wix connector webhook.

POST /wix/webhooks/process Llav + portador

Process pending SellViaApp deliveries for Wix.

GET /wix/sync/logs Llav + portador

View the isolated Wix synchronisation log.

POST /odoo/oauth/device/code Público

Start an Odoo OAuth authorisation without sharing the SellViaApp password.

POST /odoo/oauth/device/token Público

Exchange an approved device code for a revocable integration access token.

GET /odoo/account Llav + portador

Verify the SellViaApp account connected to the Odoo installation.

POST /odoo/disconnect Llav + portador

Immediately revoke this Odoo installation token.

POST /odoo/categories/sync Llav + portador

Synchronise the Odoo category hierarchy.

POST /odoo/categories/archive Llav + portador

Hide Odoo categories removed from the catalogue.

POST /odoo/products/sync Llav + portador

Synchronise Odoo variants, references, descriptions, translations, images, prices, VAT and stock.

PATCH /odoo/products/inventory Llav + portador

Quickly update Odoo prices, stock and visibility.

POST /odoo/products/archive Llav + portador

Hide removed Odoo products, categories or subcategories.

POST /odoo/customers/sync Llav + portador

Send Odoo contacts to SellViaApp and prepare their mobile access.

POST /odoo/customers/feed Llav + portador

Retrieve SellViaApp customers for duplicate-safe reconciliation with Odoo contacts.

POST /odoo/orders/feed Llav + portador

Retrieve confirmed SellViaApp orders in Odoo.

POST /odoo/orders/acknowledge Llav + portador

Record the result of an Odoo order import.

GET /odoo/sync/logs Llav + portador

View the isolated Odoo synchronisation log.

Reference

Respuestas y errores

En «Parámetros y respuestas» encontrará campos obligatorios y opcionales, códigos de estado y ejemplos JSON. Una lista vacía solo indica que todavía no hay datos. No significa que el endpoint haya fallado.

400Solicitud de invalidez
401Autenticación necesaria
403Acceso denegado
404Recursos o ruta no encontrada
409Conflicto comercial
422Falló la validación
429Demasiadas solicitudes
5xxIncidencia técnica

Entorno de trabajo API

Endpoint

GET

El código generado contiene las credenciales introducidas. Guárdalas en el servidor y nunca compartas una captura sin ocultarlas.

Listo para probar