redeem_coupon

Description

redeem a coupon by customer. You have to create a basket first!

:!: This is not implemented according to the official spec.

Definition

redeem_coupon (
    String token
    String shop_id
    String coupon_code
)

Parameters

Type Parameter Name Parameter Description
string token session token
int shop_id Shop ID
string coupon_code code of the coupon

Return Values

The return value is boolean.

Error Messages

The return string is a standard format error string and implements all standard error and success messages. The following SOAP exceptions represent specific error codes for this method:

  • 101: missing token
  • 102: missing coupon_code
  • 201: empty result set
  • 300: coupon errors
api/redeem_coupon.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki