login

post

/ccstore/v1/login

Login. Perform login operation.

Request

Supported Media Types
Form Parameters
  • Authorization parameter for grant type.
  • Optional parameter to control merging items in the cart with the shopper's old incomplete order. The default is to merge orders and combine line items. Possible values are 'none' to turn off merging completely and 'doNotCombineLineItems' to merge orders but not combine line item quantities.
  • Authorization parameter for password.
  • Authorization parameter for username.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : login_response
Type: object
Show Source
Example Response (application/json)
{
    "access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0MTQxNDk5NTYsInN1YiI6IjExMDU1OCIsImlzcyI6InN0b3JlZnJvbnRVSSIsImlhdCI6MTQxNDE0OTAyNn0=.B9qM0/VKpCNKvjCmOnUPv4RS7mkIDgKcP8RJPaVQGYU=",
    "token_type":"bearer",
    "expires_in":930
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top