Salla icon

Salla

Interact with Salla.sa e-commerce platform API

Actions45

Address → Get All

AI-generated

Overview

This node operation retrieves all addresses from the Salla.sa e-commerce platform. It supports filtering addresses by customer ID and allows users to either return all matching results or limit the number of results returned. This operation is useful for scenarios where you need to fetch multiple addresses associated with customers, such as for bulk processing, reporting, or integration with other systems.

Use Case Examples

  1. Fetch all addresses for a specific customer by providing the customer ID filter.
  2. Retrieve a limited number of addresses (e.g., 50) for quick display or processing.
  3. Return all addresses without any filters to get a complete list.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of address results to return when 'Return All' is false.
Customer ID Filter addresses by a specific customer ID.

Output

JSON

  • customer_id - The ID of the customer associated with the address.
  • id - The unique identifier of the address.
  • title - The title or label of the address (e.g., Home, Work).
  • country_id - The country identifier for the address.
  • city_id - The city identifier for the address.
  • address_line - The street address line.
  • street_number - The street number of the address.
  • block - The block or building identifier.
  • postal_code - The postal or ZIP code.
  • latitude - The geographic latitude coordinate.
  • longitude - The geographic longitude coordinate.
  • is_default - Indicates whether this address is the default address for the customer.

Dependencies

  • Salla.sa API OAuth2 credentials

Troubleshooting

  • Ensure the OAuth2 credentials for Salla.sa API are correctly configured and valid to avoid authentication errors.
  • If no addresses are returned, verify that the customer ID filter is correct or try removing filters to fetch all addresses.
  • Limit values must be between 1 and 100; setting values outside this range may cause errors.
  • Check for network connectivity issues if API requests fail.

Discussion