Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Address (v2) → Create

AI-generated

Summary

Create a new customer address in Gambio using the v2 API by sending a JSON object with the address details.

Inputs

  • authentication — Method to authenticate with the Gambio API, either Basic Auth (admin email and password, supports v2 and v3 API) or Bearer Token (JWT, supports v3 API only). Defaults to Basic Auth.
  • addressData (required) — JSON object containing the address information to be created. Must follow Gambio's address model, including fields like customerId, gender, firstname, lastname, street, houseNumber, postcode, city, countryId, zoneId, and b2bStatus among others.

Output shape

a single record containing the newly created address details as returned by the Gambio API

Ensure the JSON for addressData is correctly formatted as per Gambio's v2 API schema. Authentication type must match the API version capabilities (Basic Auth for v2). The response contains the newly created address resource object.

Examples

Example 1: Create a new address for a customer

Set 'Authentication' to Basic Auth or Bearer Token, provide the 'Address Data (JSON)' with customer's address details, and execute the node to create the address in Gambio.

Discussion