Overview
Login
- Access
Onboarding
- Merchant Onboarding
Merchants
- Merchant
- Configuration
- Onboarding
- Explore
Catalog
- Offers
- SKUs
- Categories
- Collections
- Currencies
Orders & Checkout
- Carts
- Cart Items
- Cart Customer
- Cart Discounts
- Cart Shipping
- Cart Pricing
- Cart Payment
- Cart Completion
- Orders
- Order Refunds
- Order Cancellations
- Transfers
Payments
- Payout Accounts
- Distributions
- Transfers
- Transfer Reversals
Events
- Webhooks
- Webhook Events
- Webhook Headers
Apps
- Merchant/App Installs
- Commission Rates
Operations
- Connection
Relay
- Shipping
Ecom Syncs
- Offers
Login
POST
/
login
Copy
Ask AI
curl --request POST \
--url https://sandbox-api.violet.io/v1/login
Copy
Ask AI
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"password": "<string>",
"email": "<string>",
"type": "ADMIN",
"verified": true,
"status": "INACTIVE",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"roles": [
{
"name": "<string>",
"permissions": [
{
"name": "<string>",
"description": "<string>"
}
]
}
],
"tos_accepted": true,
"payment_configured": true,
"privacy_policy_accepted": true,
"country_code": "US",
"token": "<string>",
"refresh_token": "<string>",
"merchant_id": 123,
"merchant_ids": [
123
],
"store_url": "<string>"
}
Login to Violet using your App Secret and App Id, retrieved from channel.violet.io. This is required to receive an App Token, which is used to authenticate requests made to violet.
Response
200 - application/json
successful operation
Login Response
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://sandbox-api.violet.io/v1/login
Copy
Ask AI
{
"id": 123,
"first_name": "<string>",
"last_name": "<string>",
"password": "<string>",
"email": "<string>",
"type": "ADMIN",
"verified": true,
"status": "INACTIVE",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"roles": [
{
"name": "<string>",
"permissions": [
{
"name": "<string>",
"description": "<string>"
}
]
}
],
"tos_accepted": true,
"payment_configured": true,
"privacy_policy_accepted": true,
"country_code": "US",
"token": "<string>",
"refresh_token": "<string>",
"merchant_id": 123,
"merchant_ids": [
123
],
"store_url": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.