Saaslogic
  1. vendor addresses
Saaslogic
  • Introduction
  • Authentication
  • Enum Reference
  • Authentication
    • saaslogic token
      • Get the saaslogic access token
    • login Url
      • Gives the login URL
    • logout Url
      • Gives the logout URL
  • Countries
    • Get list of countries
  • Plans
    • List all plans for a product
  • Subscriptions
    • Create a product subscription
    • Retrieve a subscription
    • Create Customer and Subscription
    • Subscription with details permissions, menus and features
    • The Saaslogic URL for creating subscription
  • Usage Reporting
    • Report the resource usages in subscription for invoicing
    • Retrieves the resource usages of a subscription in the current billing cycle
  • Customers
    • addresses
      • Create an address
      • List all addresses
      • Update an address
      • Retrieve an address
      • Delete an address
    • contacts
      • Create a contact
      • List all contacts
      • Update a contact
      • Retrieve a contact
      • Delete a contact
    • Create a customer
    • List all customers
    • Update a customer
    • Retrieve a customer
    • Delete a customer
  • Vendors
    • vendor addresses
      • Create a vendor address.
        POST
      • List all vendor addresses.
        GET
      • Update a vendor address.
        PUT
      • Retrieve a vendor address..
        GET
      • Delete a vendor address.
        DELETE
    • vendor contacts
      • Create a vendor contact.
      • List all vendor contacts.
      • Update a vendor contact.
      • Retrieve a vendor contact.
      • Delete a vendor contact.
    • vendor bills
      • Create a vendor bill
      • Cancel a vendor bill.
    • vendor bills payout
      • Update payment details to vendor bills.
    • Create a vendor
      POST
    • Update a vendor.
      PUT
    • Activate a vendor.
      PUT
    • Dectivate a vendor.
      PUT
  • Attributes
    • Create a organization attribute and set the value
    • Retrieve a organization attribute
    • Create a user attribute
    • Update a user attribute
    • Get a user attribute
  • Invoices
    • subscriptions
      • Get the invoices
      • Get the invoices by subscription
    • payments
      • Mark the invoice payment status
    • Get the invoice details .
    • cancel the invoices
    • Send invoice as pdf with payment link.
    • Create an on-demand invoice
  1. vendor addresses

Create a vendor address.

POST
/vendors/{vendorId}/addresses
To create the address for vendor.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-sandbox.saaslogic.io/v1/vendors/9e3f7852-4039-4b8d-b4d6-2cc6d3f32667/addresses' \
--header 'Authorization;' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
  "addressName": "1965-01-11",
  "address": "Ground Floor,Schuman Building Rond point,1040 Brussels,Belgium",
  "city": "Brussels",
  "zipCode": "40202",
  "countryCode": "BEL",
  "addressId": "d90cc3a8-7cb3-11ef-a252-325096b39f47",
  "taxId": "51-2144346",
  "stateCode": "BRU",
  "isDefault": true
}'
Response Response Example
200 - Successfully Created!
{
  "addressName": "1965-01-11",
  "address": "Ground Floor,Schuman Building Rond point,1040 Brussels,Belgium",
  "city": "Brussels",
  "zipCode": "40202",
  "countryCode": "BEL",
  "addressId": "d90cc3a8-7cb3-11ef-a252-325096b39f47",
  "taxId": "51-2144346",
  "stateCode": "BRU",
  "isDefault": true
}

Request

Path Params
vendorId
string 
required
(Required) The ID of the vendor.
Example:
9e3f7852-4039-4b8d-b4d6-2cc6d3f32667
Header Params
Authorization
string 
required
Saaslogic authorization token
Default:
Bearer {{bearerToken}}
Content-Type
string 
optional
Default:
application/json
Accept
string 
optional
Default:
application/json
Body Params application/json
addressId
string 
required
The ID of the address.
addressName
string 
required
A user-defined name for the address, such as 'Home' or 'Office'.
address
string 
required
The full street address, including house number and street name.
countryCode
string 
required
The country code in ISO 3166-1 alpha-3 format (e.g., 'USA' for the United States).
stateCode
string 
required
The state or province code within the country.
city
string 
required
The name of the city where the address is located.
zip
string 
required
The postal or ZIP code of the address.
isDefault
boolean 
required
Indicates whether this is the default address (true for default, false otherwise).
Examples

Responses

🟢200Successfully Created!
application/json
Body
addressName
string 
required
address
string 
required
city
string 
required
zipCode
string 
required
countryCode
string 
required
addressId
string 
required
taxId
string 
required
stateCode
string 
required
isDefault
boolean 
required
🔴500ErrorResponse
Previous
Delete a customer
Next
List all vendor addresses.
Built with