Library OpenApi Overview About these APIs Architecture Authentication Error Responses Locating a Server Sessions Design Guides Guides and Hints Examples Pricing for Websites Accepting Vouchers PreAuth Payment Replication Common Apis The most used APIs Create New Sale Payment Completion Multiple Locations Delivery Addresses Customers Locations Products Staff WebHooks eCommerce Apis These APIs are often used with eCommerce website integrations Get Pricing Card Inquiry Report & Analysis Grouped or analysed report data. Typically used to build reports and dashboards Today Login Access Pinboard ReportRequest Advanced Information More indepth information Caller Handling HTTP Protocol Bulk Data Downloads Document Uploading RetailConfig Under Development Details of APIs that will be available shortly. Documentation provided is for early adopters Get Receipt

Products API

Simple Examples

Storing details of a new product

{
    "Description": "Vege Deluxe Pizza",
    "Price": 7.99
}

Website Specific Information

Against each product is a range of fields used by Websites. While many eCommerce websites often have their own content management systems, these fields are designed to transfer from Fieldpine into those fields so that you do not need to alter product information in multiple places.

The field "Publish" is used to indicate if a product has been marked as "send to website", and it is possible to have 30 different target websites. Each of these is a bit in the Publish field.

Why do retailers have multiple websites? Some have a "retail" and "Trade" website, or an additional "bulk brand" outlet. Sometimes the decision is around where the products are listed, such as Shopify and custom designed site.

The website specific fields may change according to the target website. For example you might set "On Special" and "Blurb" to be different. When this is done, the specific fields are contained in a sub array, one for each store defined.

{ "Description": "Vege Deluxe Pizza",
  "Price": 7.99,
  "Publish": 5,
  "StoreData_5": [
    {
      "OnSpecial": 1,
      "WebBlurb", "The ultimate pizza for vege lovers"
    }],
  "StoreData_802": [
    {
      "OnSpecial": 0,
      "WebBlurb", "Vegetable pizza. Contains fresh seasonal vegetables"
    }]
  ]
}

The product definiton contains additional StoreData_NNN where NNN is the store id.

The StoreData_NNNN values will only be returned if your data request includes "want=storedata", they are not present by default due to processing time to extract and transmit what can be quite large amounts of information