Graphrt

Lazada

Seller, products, orders and order items, price, stock, pack and ready-to-ship node only

Experimental v0.1.0 Node.js 12 actions ToS risk low
Use in Graphrt Desktop

About

A Graphrt plugin for the Lazada Open Platform seller APIs: seller, products, orders and order items, plus price, stock and fulfilment (pack, ready to ship) as workflow nodes. Every request is signed with your app secret (HMAC-SHA256, lib/signing.mjs) and sent to the seller's regional gateway.

What it can do

  • Seller: get_seller
  • Products: list_products (filter, SKUs, dates), get_product (by item_id or seller_sku)
  • Orders: list_orders (created/updated window, status), get_order, get_order_items, get_multiple_order_items (up to 50 orders)
  • Node only: update_price_quantity, update_sellable_stock (up to 50 SKUs, sent as Lazada's XML payload), pack_order (/order/fulfill/pack), ready_to_ship (/order/package/rts)
  • api_request: any other API path (signed, agents: GET and read paths only), e.g. /finance/transaction/details/get

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Get Lazada seller lazada.get_seller
  • List Lazada products lazada.list_products
  • Get Lazada product lazada.get_product
  • List Lazada orders lazada.list_orders
  • Get Lazada order lazada.get_order
  • Get Lazada order items lazada.get_order_items
  • Get items of several Lazada orders lazada.get_multiple_order_items
  • Update Lazada price and stock lazada.update_price_quantity
  • Update Lazada sellable stock lazada.update_sellable_stock
  • Pack Lazada order lazada.pack_order
Show all 12 actions
  • Mark Lazada packages ready to ship lazada.ready_to_ship
  • Lazada Open Platform request lazada.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • LAZADA_APP_KEY Required
    Numeric App Key
  • LAZADA_APP_SECRET Required
    App Secret (signs every request, never sent)
  • LAZADA_ACCESS_TOKEN Required
    The seller's access token (a node may pass access_token instead)
  • LAZADA_REGION Required
    Seller country: id (api.lazada.co.id), my, ph, sg, th or vn

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Lazada.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install lazada --yes
workflow.yaml
- id: restock
  type: lazada.update_sellable_stock
  skus: [{ seller_sku: "KOPI-1KG", sellable_quantity: 40 }]
- id: pack
  type: lazada.pack_order
  pack_request:
    pack_order_list: [{ order_id: 123456789, order_item_list: [111, 112] }]
    delivery_type: dropship
    shipping_allocate_type: TFS
Plugins in the docs