Flecto
  1. SaaS - Customer Addresses
Flecto
  • Activities
  • Timestamps
  • Flecto AI
    • Flecto AI
    • Hint item categories
      GET
    • Generate item category description
      GET
    • Generate item description
      GET
    • Classify insurance item
      GET
    • Generate product photos
      GET
    • Generate bundle description
      GET
  • Services
    • Get image upload url
      POST
    • Get document upload url
      POST
  • Integrations - Email Validate
    • Validation email
      GET
  • Integrations - Google Calendar
    • Google Calendar Integration
    • Create google calendar id
      POST
    • Delete google calendar
      DELETE
  • Me
    • Gets current logged in user
      GET
    • Update current logged in user attributes
      PUT
  • Me - Addresses
    • Get all user addresses
      GET
    • Create user address
      POST
    • Get user address
      GET
    • Delete user address
      DELETE
    • Update user address
      PATCH
  • Me - Identities
    • Get user identities
    • Change main identity
    • send email for recovery password
    • Get user identities
    • delete auth0 user
    • Update identity
  • Me - Subscription
    • Get user subscription
  • Me - Tax Profiles
    • Get current user tax profile
    • Update current user tax profile
  • Me - Verification
    • Verify phone number
    • Check ongoing phone number verify
  • User - Bookings Settings
    • Gets current owner bookings settings
    • Update user booking settings
  • Business Categories
    • Get business categories
  • SaaS - Bookings
    • Creates a booking
    • Index all bookings
    • Updates booking
    • Show details of one booking
    • Delete booking
    • Update booking document
  • SaaS - Booking Availability
    • Checks item availability for all items within booking
  • SaaS - Booking Customers
    • Shows booking customer
    • Update booking customer
  • SaaS - Booking Documents
    • Shows all booking documents
    • Creates a booking document
    • Shows booking document
    • Destroy booking document
    • Updates a booking document
    • Quote preview
    • Contract preview
    • Proforma preview
    • Generates a PDF for a booking
    • Generates a contract PDF for a booking
    • Generates a PDF for a booking
  • SaaS - Booking Items
    • Booking items
    • Add a new booking item
    • Booking item
    • Remove a booking item
    • Update booking item
  • SaaS - Booking Payments
    • Shows all booking payment
    • Creates a booking payment
    • Shows booking payment
    • Destroy booking payment
    • Updates a booking payment
  • SaaS - Booking Status
    • Negotiate booking
    • Reserve booking
    • Cancel a booking
    • Halts booking negotiation
    • Unreserve booking
    • Halts ongoing negotiation
    • Reverts completed booking
    • Undo cancelled booking
    • Send booking customer email
  • SaaS - Bundles
    • Get items
    • Create bundle
    • Get bundle
    • Delete bundle
    • Update bundle
  • SaaS - Bundles Items
    • Get bundle items
    • Create bundle item
    • Get bundle items
    • Update bundle item
    • Delete bundle item
  • SaaS - Chargebee
    • Posts callback from Chargebee
  • SaaS - Customers
    • Creates a customer
    • List customers
    • Get customer
    • Delete customer
    • Updates customer
  • SaaS - Customer Addresses
    • List customer addresses
      GET
    • Creates a customer addresses
      POST
    • Delete address
      DELETE
    • Update address
      PUT
  • SaaS - Inquiry Customers
    • Create customer from inquiry
  • SaaS - Inquiry Status
    • Unreject inquiry
    • Unapprove inquiry
    • Rejects inquiry
    • Approve inquiry
  • SaaS - Items
    • Get item category
    • Get item
    • Delete items
    • Update item
    • Add item
    • Get items
    • Estimate insurance for item
    • Get items
  • SaaS - Item Photos
    • Delete item photo
    • Get item photo
    • Get all item photos
    • Create item photo
  • SaaS - Links
    • Show object details
  • SaaS - Inquiries
    • Show details of one inquiry
    • Shows specific owner inquiry
    • Shows all the owner inquiries
  • SaaS - Insurances
    • Create insurances for booking
    • Cancels bookings insurances
    • List all bookings insurances
    • Cancel insurance
    • Show booking insurance
    • Show booking insurance status
    • Get insurance
    • Update insurance
    • Get Insurance Quote for booking
    • Create insurance
    • List all insurances
  • SaaS - Products
    • Get item
    • Checks item availability for booking
    • Estimate insurance for item
    • Checks availability for all items
  • Store - Inquiries
    • Creates an inquiry
  • Links - Booking Documents
    • Show documents of one booking
    • Show document
    • Update documents of one booking
  • Links - Bookings
    • Show details of one booking
  • SaaS - Store
    • Get store
    • Update store
  • Store
    • Gets store details
  • Me - Item Categories
    • List all item categories
    • Create item category
    • Move item category
    • Get item category
    • Update item category
    • Delete item category
  • Store - Item Categories
    • List item categories
    • Show item category
  • Store - Products
    • Get item
    • Get item category
    • Get all item photos
    • Get all item photos
    • Checks item availability for booking
    • List item
    • Checks availability for all items
  • Me - Onboarding
    • Onboards a new user
  • SaaS - Booking Services
    • Shows all booking services
    • create a booking service
    • Shows booking service
    • Update booking service
  • SaaS - Product Status
    • Enable item
    • Disable item
  1. SaaS - Customer Addresses

Update address

PUT
/api/saas/me/customers/{customer_internal_id}/addresses/{id}
SaaS - Customer Addresses

Request

Path Params
customer_internal_id
number 
required
Internal ID of the customer to update an address for
id
number 
required
ID of the address to update
Header Params
Authorization
string 
optional
Bearer token from Auth0. required for accessing the endpoint.
Auth0-IdToken
string 
optional
Id token from Auth0, optional for endpoint access.
Accept-Language
string 
optional
Preferred language for the response content.
Body Params application/json
data
object 
required
type
enum<string> 
required
Allowed value:
customer_address
attributes
object 
required
Example
{
    "data": {
        "type": "customer_address",
        "attributes": {
            "main": true,
            "label": "string",
            "latitude": 0,
            "longitude": 0,
            "address_street": "string",
            "address_city": "string",
            "address_postal_code": "string",
            "address_region": "string",
            "address_country_code": "AD"
        }
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://rnters-staging.herokuapp.com/api/saas/me/customers//addresses/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": {
        "type": "customer_address",
        "attributes": {
            "main": true,
            "label": "string",
            "latitude": 0,
            "longitude": 0,
            "address_street": "string",
            "address_city": "string",
            "address_postal_code": "string",
            "address_region": "string",
            "address_country_code": "AD"
        }
    }
}'

Responses

🟢200OK
Update a address triggers CUSTOMER_ADDRESS__UPDATED analytics
This response does not have a body.
Modified at 2025-05-28 14:14:38
Previous
Delete address
Next
Create customer from inquiry
Built with