Buy Now API Guide

Buy Now API Guide


The following guide is aimed at assisting developers in understanding how the omacro Buy Now services work in an effort to develop a custom front-end solution. If you are not familiar with this type of development, it is highly recommended that you use omacro's prebuilt solution. To learn more about Buy Now, please review our Supplier Buy Now Implementation Guide.

Prerequisites

Configure Network To Support Buy Now

It may be necessary to ensure that your network firewall is configured properly communicate with the omacro web services outside of your network. Learn more about Buy Now Service Information for Network Professionals.

Overview

The Buy Now service endpoints can be called to request basic client information, Buy Now configuration data and dealer and product information. This guide will outline these endpoints and their functions.

omacro Service Base Endpoint Address

  1. https://services-v2.omacro.com/buynow/

Variable Terms Used In Endpoints

Please note, in order to call most Buy Now endpoints, you may be required to supply the following key parameters:
  • companyId - The internal global unique identifier assigned to your company from omacro (aka "omacro ID" or Company GUID). The companyId parameter can be found on the Buy Now -> Site Code page or by clicking on your company name in the top left hand corner of the omacro navigation menu. The companyId will appear in the URL parameter "id".
  • productId - The internal global unique identifier assigned to your product from omacro (aka Product GUID). At this time, the productId parameter can be found within the omacro Products -> Manage Product page by clicking on the product Model and launching the "live" view page. The productid will appear in the URL as the parameter "p".

Endpoints

Data Retrieval
  • geolocate
  • companies/{companyId:guid}
  • companies/{companyId:guid}/retailers/online
  • companies/{companyId:guid}/retailers/local
  • companies/{companyId:guid}/validate
  • companies/{companyId:guid}/products
  • companies/{companyId:guid}/products/{productId:guid}/retailers/online
  • companies/{companyId:guid}/products/{productId:guid}/retailers/local
Analytic Tracking
  • dealertransaction
  • producttransaction
  • producttransactionsimple
  • dealertransactionsimple

 The following is an example of a fully qualified endpoint address:






    • Related Articles

    • Supplier Buy Now Implementation Guide

      The following article discusses various ways to implement Buy Now as a popup or embed within a page as a Product Based Dealer Locator or General Dealer Locator. Buy Now can be configured to open to a specific market (Online or Local) to show one or ...
    • Track Buy Now Activity With Google Analytics

      Introduction Buy Now can be used with 3rd-party analytics tools like Google Analytics to target specific URL parameters. Gain precise insights into how customers engage with Buy Now. This article will outline the basics of product seller link URL and ...
    • Buy Now Service Information for Network Professionals

      The Buy Now popup client-side script works in conjunction with a number of omacro web service endpoints to deliver it's content. For successful operation of the service, it is important to ensure the Buy Now script can properly communicate with it's ...
    • Manage Supplier Buy Now Links In Bulk

      Introduction Easily and effectively manage your supplier "Buy Now" links in bulk and better visualize which products are available to your company using the "Buy Now Links" data grid. View which products are available and from which suppliers: See ...
    • Adjust Map Search Radius On Buy Now Popup

      Having difficulty seeing results appear due to the default search radius within the Buy Now popup? By default, the initial map radius of 50 miles (80 kilometers) with a fallback radius of 150 miles (241 kilometers) produces results for most ...