Versions Compared

Key

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

...

Parameters

Location

Type

Required

Default

Accepted

token

Header

String(26)

v

ean

Path

Long

v

quantity

Form

Integer

1

giftwrap

Form

Integer

giftwrap

discount

Form

Float

%

priceWithDiscount

Form

Float

giftwrap

Form

Integer

giftwrap

secondHandFictif

Form

String

Tip

The giftwrap parameter allows you to insert a product in the cart directly with a giftwrap set.

...

Code

Success

Message

0

v

cart line added

1

domaincode malformed

2

connexion error

3

token empty

4

no token with that key

5

invalid token

9

{param} not {type} {(or undefined)}

11

article not exist

12

giftwrap not exist

13

no postal charges available

14

giftwrap not available for ebooks

99

uncatched exception

...

Update product

...

Code

Success

Message

0

v

cart line updated

1

domaincode malformed

2

connexion error

3

token empty

4

no token with that key

5

invalid token

9

{param} not {type} {(or undefined)}

10

cart not exist

11

article not exist

12

giftwrap not exist

13

no postal charges available

14

giftwrap not available for ebooks

99

uncatched exception

...

Modifier

...

Code

Success

Message

0

v

cart line removed

1

domaincode malformed

2

connexion error

3

token empty

4

no token with that key

5

invalid token

9

{param} not {type} {(or undefined)}

10

cart not exist

11

article not exist

12

giftwrap not exist

13

no postal charges available

14

giftwrap not available for ebooks

99

uncatched exception