Difference between revisions of "API Order"

From Spiffy Stores Knowledge Base

(Created page with "The Spiffy Stores API Order object represents a request from a customer to purchase one or more products from your store. The process of creating an order during the checkout ...")
 
Line 11: Line 11:
 
|style="width: 30%"|id
 
|style="width: 30%"|id
 
|<code>{ "id" : 123456789 }</code><br/>
 
|<code>{ "id" : 123456789 }</code><br/>
A unique numeric identifier for the product.
+
A unique numeric identifier for the order. This ID is only used with the API interface. This ID is not the same as the Order Number, which is also a unique numeric identifier for the order, but is used by the store owner and customer.
 
|-
 
|-
|title
+
|order_number
 
|<code>{ "title" : "Cute Dog" }</code><br/>
 
|<code>{ "title" : "Cute Dog" }</code><br/>
The title of the product.
+
A unique numeric identifier for the order. This one is used by the shop owner and customer. This is different from the id property, which is also a unique numeric identifier for the order, but used for API purposes.
<html>
+
|}
  <style type="text/css">
 
  table.wikitable td { padding: 10px 20px !important; text-align: left; vertical-align: middle; }
 
  </style>
 
</html>
 
{| class="wikitable" style="width: 100%"
 
|style="width: 30%"|id
 
|<code>{ "id" : 123456789 }</code><br/>
 
A unique numeric identifier for the product.
 
|-
 
|title
 
|<code>{ "title" : "Cute Dog" }</code><br/>
 
The title of the product.
 

Revision as of 10:57, 23 February 2015

The Spiffy Stores API Order object represents a request from a customer to purchase one or more products from your store. The process of creating an order during the checkout process collects together sets of information about the customer's requested, including customer details and billing and shipping addresses, a list of the items being purchased, information about the payment, and shipping and fulfilment details.

Order Properties

id { "id" : 123456789 }

A unique numeric identifier for the order. This ID is only used with the API interface. This ID is not the same as the Order Number, which is also a unique numeric identifier for the order, but is used by the store owner and customer.

order_number { "title" : "Cute Dog" }

A unique numeric identifier for the order. This one is used by the shop owner and customer. This is different from the id property, which is also a unique numeric identifier for the order, but used for API purposes.