POST /accounts/v4/login

Once the request for the authentication token has been successfully processed, a user can log-in through your client application by giving OpenAPI the stored token. Note: Usage of this call is limited and only on request by email to developercenter@bol.com.

Request URL structure:

https://api.bol.com/accounts/v4/login

Make sure that the parameter values are urlencoded.

Request HTTP method:

POST

Request parameters:

Name Location Data type Required Description

privatetoken

Post

text

Yes

Token used to identify the individual user, as retrieved with operation POST /account/v4/authtokens

This token is case sensitive.

format

Query

text

No

json (default): the response is returned in JSON. xml: the response is returned in XML

Response XML:

Element Min Max Description

sessionId

1

1

Session id. A new Session id is returned

name

1

1

Full name of the user that just logged in

mergedBasket

1

1

True if anonymous basket was merged with existing one, otherwise false

Request / Response example:

Request: https://api.bol.com/accounts/v4/login

POST data:

privatetoken=a3QD8FLgOH1YjOng65pFR0LxgmWwPOdaKZydGc5YBKTuIQqjIGCncBtT6Zfz9kgiUv9jppHMhzc6hkTveLGtElb1SunrDOpv3uLtKCswiQNlgX0hhkMVKqsFuoICQjgF7UYdpYMEWCBGGgrNTCmoJqPDqxqcWSgHgE2RKJHLFGbM1kquTFCrGxdkmqZzs2Rapy6n2cmZ8NDsa4G1pY879Y9JBwT5yBgpXTnctXwK5FM7kIrUkgpEfY5KIE8byB1l

Response: JSON / XML

volg developers.bol.com via TwitterMeld je aan voor de Partnerprogramma groep op Linkedin