Price

The price resource represents prices of products. Every product must associated with at least one price/price per license to appear in the shop. 

What can you do with Price?

The FlickRocket API lets you do the following with the price resource. More detailed versions of these general actions may be available:

GET /api/prices.json

Receive a list of all price models defined for the company.

GET /api/prices/#{token}.json

Receive a single price model identified via token (Price ID). 

Price Properties

countries

Array of countries and corresponding price for the country (in cent)

[{

"country_name": "United Kingdom"

The name of the country

"country_code": "GB"

The country code of thsi country

"price": 19800

Price in cent for this country.

}]

created_at
"2014-07-02T13:25:26"

The date/time the price model was initially created.

currencies

Array of currencies the correspondig price for the currency (in cent)

[{

"currency": "eur"

Curency identifier

"price": 19800

Price in cent for the currency

}]

 id
 672

The unique id used to reference this price model

modified_at
"2015-08-02T16:22:21"

The last date/time the price model was modified.

title
"Default pricing for new items"

The name of the price model as shown in the admin interface.

valid
1

Set to 1 for valid price models. Set to 0 for invalid price models.

Get all prices

GET /api/prices.json

View Response

Receive a single price identified by Price ID token

GET /api/prices/#{token}.json

View Response

Receive a count of all prices

GET /api/prices/count.json

View Response