v4

latestOpenAPI 3.0.02026-07-31811,0021.1 MB
Coupons

Creates a coupon for the given customer.

post/v1/pvt/Coupons

Request body

OriginalIdstring

Id from the client store.

CouponCodestring

Coupon Code.

CreatedDatestring date-time

Date of creation of this coupon.

CouponType0 | 1 | 2 | 3 | 4

0 = FixedValue 1 = Percent 2 = FreeShipping 3 = DiscountShipping 4 = Others

IsUsedboolean

If true, the coupon was already being used in a purchase.

CouponValuenumber

Coupon Discount Value

ValidDateStartstring date-time

Coupon validity start date

ValidDateEndstring date-time

Coupon expiration date

CustomerIdstring

Id for the customer that this coupon is being given.

Response

TotalItemCountinteger

Total of rewards Configurations founds.

PageSizeinteger

Pagination size

PageNumberinteger

Actual Page Number

HasNextPageboolean

true if there is another page to be load.

HasErrorboolean

If true the request had an error.

ErrorMessagesstring[]

List with the error messages