WoowUp Developer Docs
Woowup
  • Getting Started (EN)
  • Primeros Pasos (ES)
  • API
    • Users
    • Purchases
    • Products
    • Benefits
    • Coupons
    • Events
      • Garantía Extendida
    • Custom Attributes
    • Branches
    • Blacklist
    • Abandoned carts
    • Reset account
    • Integration Stats
    • Categories
    • Segment Export
  • Web Tracking
    • Configuración Navegación Web
  • Push Notifications
    • Configuración Notificaciones Web Push en Magento / Web Custom
    • Configuración Push en VTEX Legacy
    • Configuración Push en VTEX IO
    • ¿Cómo saber si la configuración fue exitosa?
  • Formularios Web
    • Formulario HTML / Script JS Newsletter
  • VTEX
    • Conectar Cuenta
    • Trigger Carrito Abandonado
    • Trigger Newsletter
    • VTEX APP Instalación
    • VTEX APP Configuración
  • Magento 1
    • Conectar Cuenta
    • Extension Carrito Abandonado
  • Magento 2
    • Conectar Cuenta
  • Shopify
    • Conectar Cuenta
  • Woocommerce
    • Conectar Cuenta
    • Extensión Carrito Abandonado
  • Prestashop
    • Conectar Cuenta
  • E3
    • Conecta tu eCommerce E3
  • Tienda Nube
    • Conectar Cuenta
  • Mensajería
    • SendGrid: Conectar Cuenta
    • Perfit: Conectar Cuenta
    • Infobip: Conectar Cuenta
  • Editor de campañas
    • Motor de template de emails
  • Data Processing
    • WoowUp Connectors
    • Migración a Multi - ID
  • How To
    • SurveyKiwi: Conectar Cuenta
      • Untitled
    • Snappy: Conectar Cuenta
    • Zendesk: Conectar Cuenta
  • Integración CSV / SQL
    • Primeros pasos
    • Archivo de Tiendas
    • Archivo de Categorías
    • Archivo de Productos
    • Archivo de Clientes
    • Archivo de Ventas
    • Archivo de Medios de Pago
    • Archivo de Miembros de Familia
  • Validación de Datos
  • ¿Cómo completar el Blueprint?
Powered by GitBook
On this page

Was this helpful?

  1. API

Abandoned carts

Upload your abandoned carts to WoowUp

Create abandoned cart

POST https://api.woowup.com/apiv3/multiusers/abandoned-cart

Create an abandoned cart

Request Body

Name
Type
Description

document

string

Customer's document

email

string

Customer's email

service_uid

string

Customer's id

total_price

number

Total cart's price

external_id

string

Cart's identifier

source

string

Source of the cart (e.g. "web")

recovered

boolean

If cart was already recovered

recover_url

string

URL of the cart so the customer can recover it

products

array

List of products. Available properties for each one: sku (mandatory), quantity, unit_price, offer_price

createtime

string

Create time of the cart. Format: ISO-8061

{
    "payload": [],
    "message": "ok",
    "code": "ok",
    "time": "56ms"
}
{
    "payload": {
        "errors": [
            "[An error]"
        ]
    },
    "message": "bad request",
    "code": "bad_request",
    "time": "35ms"
}
{
    "payload": [],
    "message": "User not found",
    "code": "user_not_found",
    "time": "34ms"
}

Example

curl -X POST \
  https://api.woowup.com/apiv3/multiusers/abandoned-cart \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic xxxxxxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
    "email": "email@example.com",
    "external_id": "Cart-001",
    "source": "web",
    "recovered": false,
    "recover_url": "http://www.my-store.com/my-abandoned-cart",
    "createtime": "2019-07-10T19:12:53-03:00",
    "products": [
        {
            "sku": "12345",
            "quantity": 1,
            "unit_price": 699.0,
            "offer_price": 399.0
        }
    ],
    "total_price": 699.0
}'

JSON schema

{
        "$schema": "http://json-schema.org/draft-04/schema#",
        "description": "A representation of an abandoned cart",
        "type": "object",
        "required": ["products"],
        "properties": {
            "service_uid": { "type": "string" },
            "email": { "type": "string" },
            "document": { "type": "string" },
            "total_price": { "type": "number"},
            "external_id": { "type": "string" },
            "source": { "type": "string" },
            "recovered": { "type": "boolean" },
            "recover_url": { "type": "string" },
            "products": {
                "type": "array",
                "items": {
                    "type": "object",
                    "required": [ "sku" ],
                    "properties": {
                        "sku": { "type": "string" },
                        "quantity": { "type": "number" },
                        "unit_price": { "type": "number" },
                        "offer_price": { "type": "number" }
                    }
                }
            },
            "createtime": { "type": "string" }
        }
    }
PreviousBlacklistNextReset account

Last updated 5 years ago

Was this helpful?