Save your wardrobe booking apis
  1. Getting Started
Save your wardrobe booking apis
  • Customer booking
    • Getting Started
      • Introduction
      • Authentication
      • Attribute groups
    • Authentication
      • Customer login
      • Customer signup
    • categories
      • Get providers
      • Get clothes categories
    • services
      • Get services
    • Upload photos
      • Uplaod photos
    • shoppingCart
      • Create A New Shopping Cart
      • Add items to Shopping Cart
      • Add customer to Shopping Cart
      • Delete Item From Shopping Cart
      • Get Available Logistics Options
      • Add Logistic Option To Shopping Cart
    • order
      • Create the Order from the Shopping Cart
      • List Orders
  • Schemas
    • attributesGroup
    • currency
    • translatedString
    • metadata
    • shoppingCart
    • item
    • item Copy
    • order
  1. Getting Started

Authentication

Use a JWT token to send authenticated requests. Authentication state is managed by the client, which is ideal for web applications and mobile applications.

How to Obtain the JWT Token#

JWT tokens are obtained by sending a request to the Customer Login (JWT) endpoint passing it the customer's email and password in the request body. For example:
If authenticated successfully, an object is returned in the response with the property access_token being the JWT token.

How to Use the JWT Token#

The JWT token can be used for Bearer Authentication. It's passed in the
Authorization header as the following:
Authorization: Bearer {jwt_token}`
Previous
Introduction
Next
Attribute groups
Built with