Jump to Content
VioletIO
GuidesRecipesAPI Reference
v1.0

Log InVioletIO
Log In
v1.0GuidesRecipesAPI Reference

Violet Documentation

  • Getting Started
  • Apps
  • Authentication
    • Obtaining an API Token
    • Refreshing an API Token
    • Using an Expired Token
    • Authenticating Against the API
  • Environments
    • Sandbox
    • Live
  • Products
    • Product Search
    • Product Offers
    • Products By ID
    • Product Filtering
  • Checkout
    • Create Cart
    • Add Item to Cart
    • Apply Guest Customer to Cart
    • Apply Shipping Address to Cart
    • Apply Billing Address to Cart
    • Get Available Shipping Methods
    • Apply Selected Shipping Methods
    • Apply Payment Method to Cart
    • Price Cart
    • Submit Cart
    • Order Errors
  • Payment Tokens
    • Tokenizing Payment Methods with Stripe JS
    • Custom Payment
  • Webhooks
    • Managing Webhooks
    • Managing Webhook Headers
    • Simulating Webhooks
    • Webhook Events
  • Getting Paid
    • Connecting Your Bank Account
    • Populating Your Payout Account
    • Receiving Payouts
    • Order Returns
  • Platforms
  • Definitions
  • Changelog
  • FAQ
  • Support
  • Security
  • Violet Connect
    • Violet Connect - Shopify
    • Violet Connect - BigCommerce

Using an Expired Token

Suggest Edits

If you make a request against the API using an expired token you will receive a response similar to the following example.

{
  "status": 401,
  "message": "Token has expired",
  "error_code": 11,
  "timestamp": 1558040517021,
}

Updated 9 months ago