Order API

This is an archive of old posting to the User Forum

Order API

Postby Wes Rolley » Fri Oct 31, 2003 10:42 am

Since no one volunteered an answer to my previous Order API question,
can anyone (Loren?) validate the following for me:

- There was no value provided for "Coupons=" when I looked at a coupon
order with custom-dump.pl. The assumption is that this field is not used
when only a single coupon is provided.

- There is sub field of O_AllTotals that provides for the total coupon
value (a negative number.)

- The Coupon info is passed as if it were a product name, but with the
record type set to "cpn". Then the Product Name is the Coupon Text..e.g.

B03-Name = Early Bird Holiday Discount
B03-Price = -7.64
B03-rec_type = cpn

Are these statements that I can count on now (Shopsite Pro 6/1/1) and in
other point releases of version 6?
Wes Rolley
 

Re: Order API

Postby loren_d_c » Fri Oct 31, 2003 10:53 am

I don't think any of these things have changed in newer versions, but
you could always get a v6.3 demo store from www.shopsite.com/demo.html
and setup your coupons and the customdump.cgi Order API and try a test
order to see.

-Loren


Wes Rolley wrote:
Since no one volunteered an answer to my previous Order API question,
can anyone (Loren?) validate the following for me:

- There was no value provided for "Coupons=" when I looked at a coupon
order with custom-dump.pl. The assumption is that this field is not used
when only a single coupon is provided.

- There is sub field of O_AllTotals that provides for the total coupon
value (a negative number.)

- The Coupon info is passed as if it were a product name, but with the
record type set to "cpn". Then the Product Name is the Coupon Text..e.g.

B03-Name = Early Bird Holiday Discount
B03-Price = -7.64
B03-rec_type = cpn

Are these statements that I can count on now (Shopsite Pro 6/1/1) and in
other point releases of version 6?
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 7 guests