Saaslogic
  1. Attributes
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.
      • List all vendor addresses.
      • Update a vendor address.
      • Retrieve a vendor address..
      • Delete a vendor address.
    • 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
    • Update a vendor.
    • Activate a vendor.
    • Dectivate a vendor.
  • Attributes
    • Create a organization attribute and set the value
      POST
    • Retrieve a organization attribute
      GET
    • Create a user attribute
      POST
    • Update a user attribute
      PUT
    • Get a user attribute
      GET
  • 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. Attributes

Create a organization attribute and set the value

POST
/organizations/attributes
Set the value of an organization attribute
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-sandbox.saaslogic.io/v1/organizations/attributes' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "customerId": "15843b8b-255f-4445-b19c-f134701d9947",
  "attributeName": "authClientId",
  "attributeValue": "34",
  "merchantId": "4312f41b-9058-4415-bb54-9bf6dadb1fb4"
}'
Response Response Example
{
  "message": "dolore"
}

Request

Header Params
Content-Type
string 
required
Example:
application/json
Accept
string 
required
Example:
application/json
Authorization
string 
required
Saaslogic authorization token
Default:
Bearer {{bearerToken}}
Body Params application/json
customerId
string 
required
The ID of the customer.
attributeName
string 
required
The name of the attribute to be updated or retrieved.
attributeValue
string 
required
The value assigned to the specified attribute.
merchantId
string 
required
The ID of the merchant associated with the customer.
Examples

Responses

🟢200Attribute created successfully
text/plain
Body
object {0}
🔴500Internal server error
Previous
Dectivate a vendor.
Next
Retrieve a organization attribute
Built with