Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request

Parameters

Location

Type

Required

Default

Accepted

token

Header

String(26)

v

Content-Type

Header

String

v

application/x-www-form-urlencoded

line

Path

Integer

v

discount

Form

Float

1

priceWithDiscount

Form

Float

Note

At least one the fields discount or priceWithDiscount have to be given. If both are, priceWithDiscount will have the priority.

Response

Success

Code Block
{
	"response": {
		"success": true
		"message": "cart retrieved"
		"object": {
		"cart": {
			"customer": 2
			"productsQuantity": 1
			"price": 20.25
			"totalPrice": 20.25
			"creationDate": "2016-02-29 15:18:34"
			"lines": {
				"line": [1]
					0:  {
						"id": 1
						"ean": 9789462500877
						"title": "Kip"
						"author": "Marcus Bean & Ellen Hosmar"
						"price": 20.25
						"quantity": 1
						"productForm": "BB"
						"priceFull":22.5
						"discount": 10
					}
				}
			}
		}
	}
}

...