API : Catalog v 1.29

Partner: Bigbarnmusic
Token:

This API can be used to fetch product information and list promotions from the Plugivery Catalog, enabling our partners to quickly and conveniently create attractive product pages.

Restrictions

Rate Limits

When using the API, you must make sure that you do not exceed the following Limits.
Queries above the limits will be refused with the relevant Error Code (see below):

NameContent
Max Reads / day300
Max Reads / month4000
NameContent
Current Reads / day2
Current Reads / month2

IP Restricted

Most of these API actions can only be reached from authorized IPs. You can define them here.

Your current authorized IPs are :
  • 208.67.20.14

Request / Response

Request Parameters

Here are the GET parameters used to query the API :

This is a private API so you must always use the 'token' authentication parameter.
Required Parameters
NameTypeDescription 
tokenStringAuthentication Token
actStringAction to perform (see "All Possible Actions" below)
Optional Parameters
NameTypeDescription 
printIntegerSet to '1' to display the JSON array response as HTML. (In 'doc' mode, set it to '2' to show an HTML version)

JSON Response

For each request, the API will return a JSON array with all the following fields :

Returned Fields
NameTypeContent
requestArrayReceived Parameters
dataArrayThe resulting data
errorIntegerError code (0 if OK)
error_txtStringA text description of the error
api_versionStringAPI Version
Cache Information
cache_sinceUnix TimestampThe date when the object was cached
cache_untilUnix TimestampThe date when the object will be refreshed
nowUnix TimestampCurrent Date

When a valid response is found, the API will return an HTTP code 200 (found), and an error code of 0 (no error).
When an error occurs, the HTTP code and error code returned will be one of the followings :

Returned Error Codes
NameContent
0OK
401Unauthorized
403Forbidden
404Not Found
451Unauthorized IP Address (18.118.164.151)
453Invalid Token
455Missing Required Parameter
461Access Revoked
462No Result
463Account Auto Created
472Over Daily Read Limit
473Over Monthly Read Limit
474Over Total Read Limit
477Over Daily Write Limit
478Over Monthly Write Limit
479Over Total Write Limit
501Not Implemented
503Service Unavailable

All Possible Actions

Action : listRate limits, Accesses are logged.

List Products.

Required Parameters
NameTypeDescriptionExample
sinceString
  • all: All products (default)
  • day: Products changed since one Day
  • week: Products changed since one Week
  • month: Products changed since one Month
since=all
Optional Parameters
NameTypeDescription 
brand_idIntegerFilter by Brand ID. (To list all available Brand IDs, you can use the 'list_brands' action)
Returned Data Fields
NameTypeContent
idIntegerProduct ID
dateUnix TimestampLast modified Date
msrpFloatMSRP : Manufacturer's Suggested Retail Price
mapFloatCurrent MAP Price : Minimum Advertised Price (follows promotions)
costFloatCurrent Dealer Cost Price (follows promotions)
reg_mapFloatRegular MAP Price : Minimum Advertised Price
reg_costFloatRegular Dealer Cost Price

Action : getRate limits, Accesses are logged.

Get one Product.

Required Parameters
NameTypeDescriptionExample
idIntegerProduct IDid=1147
Returned Data Fields
NameTypeContent
idIntegerProduct ID
nameStringName
descStringDescription
dateUnix TimestampLast modified Date
msrpFloatMSRP : Manufacturer's Suggested Retail Price
mapFloatCurrent MAP Price : Minimum Advertised Price (follows promotions)
costFloatCurrent Dealer Cost Price (follows promotions)
reg_mapFloatRegular MAP Price : Minimum Advertised Price
reg_costFloatRegular Dealer Cost Price
urlStringProduct URL
imgStringImage URL : You can copy the image but NEVER HOTLINK to it !
brand_idIntegerBrand ID. (To list all available Brand IDs, use the 'list_brands' action)
brand_nameStringBrand Name
cat_idIntegerCategory ID. (To list all available Category IDs, use the 'list_cats' action)
cat_nameStringCategory Name

Action : list_catsRate limits, Accesses are logged.

List All Products Categories.

Returned Data Fields
NameTypeContent
idIntegerCategory ID
nameStringCategory Name

Action : list_brandsRate limits, Accesses are logged.

List All Brands.

Returned Data Fields
NameTypeContent
idIntegerBrand ID
nameStringBrand Name
urlStringBrand URL
imgStringBrand Image URL : You can copy the images but NEVER HOTLINK to them !

Action : list_promotionsRate limits, Accesses are logged.

List Upcoming, Current, Closed and Recent Promotions.

Optional Parameters
NameTypeDescriptionExample
stateInteger
  • 0: Future Promotions
  • 1: Current Promotions
  • 2: Closed Promotions (Grace Period is running)
  • 3: Past Promotions
state=1
brand_idIntegerFilter by Brand ID. (To list all available Brand IDs, you can use the 'list_brands' action)
Returned Data Fields
NameTypeContentDescription
idIntegerPromotions ID
stateIntegerState
  • 0: Future Promotion
  • 1: Current Promotion
  • 2: Closed Promotion (Grace Period is running)
  • 3: Past Promotion
startUnix TimestampStart Date
endUnix TimestampEnd Date
prod_idIntegerProduct ID
msrpFloatMSRP : Manufacturer's Suggested Retail Price
promo_mapFloatPromo MAP Price : Minimum Advertised Price
promo_costFloatPromo Dealer Cost Price
reg_mapFloatRegular MAP Price : Minimum Advertised Price
reg_costFloatRegular Dealer Cost Price

Action : infoNo rate limits, Accesses are not logged.

Get current API Information.

Action : docNo rate limits, Accesses are not logged.

Get current API Self Documentation.