LogoLogo
Contact API support
  • Build apps
  • Site Templates
  • REST API Reference
  • Storefronts (JS API)
  • Webhook automations
  • Discounts
  • Guides
  • Changelog
  • Overview
  • Payments
    • Online payments overview
    • Provide additional online payment method
    • Process online payment requests
      • Step 1. Decode and parse payment request from Ecwid
      • Step 2. Collect essential data for payment processing
      • Step 3. Initialize the transaction from payment provider
      • Step 4. Place order and return customer back to the store
    • Customize payments
      • Set up payment fees
      • Collect tips/donations at the checkout
      • Add payment instructions to the checkout
      • Show payment icons near your payment method at the checkout
      • Collect additional information before payment
      • Limit payments by selected shipping method
  • Shipping methods
    • Online shipping methods overview
    • Provide additional online shipping method
    • Process online shipping requests
      • Step 1. Parse shipping request
      • Step 2. Calculate shipping rates externally
      • Step 3. Send a response with shipping options
    • Shipping glossary
  • Orders
    • Get order details
      • Customer data in order details
      • Product prices in order details
      • Discounts in order details
      • Taxes in order details
    • Create orders
      • Calculate order details
      • Place new order with API
      • Place a new order from the abandoned cart
    • Sync orders with external services
      • Sync orders manually
      • Automated orders sync

Lightspeed® 2025

On this page

Was this helpful?

  1. Shipping methods
  2. Process online shipping requests

Step 2. Calculate shipping rates externally

This is an external step – the logic here can vary from app to app and Ecwid doesn't have any way to interfere with this part.

Therefore, your application must do the following actions independently of Ecwid API:

  • Collect the required data from the shipping request.

  • Request shipping rates from the shipping provider's API.

  • Receive and parse the response.

The app must return shipping rates to Ecwid within the 10-second window from receiving the initial POST request from the store. However, we recommend to complete this step in under 2 seconds.

PreviousStep 1. Parse shipping requestNextStep 3. Send a response with shipping options

Last updated 7 days ago

Was this helpful?