Info Value
Updated on 18 September 2018
Response format JSON
HTTP Methods POST
Response object Bundle save
API Version 1.0

Currency/Bundle/Save

Create or update a currency bundle.

Parameters

If a bundle_id is specified, that bundle will be updated. If not, then the bundle will be created.

Parameter Type Description
bundle_id
(optional)
integer The ID of the bundle being requested
currency_id_received
(optional)
integer The ID of the currency received by the user when the bundle is purchased
bundle_category_id
(optional)
integer The category ID of the bundle
bundle_code
(optional)
string The code of the bundle
bundle_name
(optional)
string The bundle name
bundle_description
(optional)
string The bundle description
visible
(optional)
boolean Whether or not the bundle is visible
enabled
(optional)
boolean Whether or not the bundle is enabled

Response

Element Type Description
bundle_id integer The ID of the bundle saved
success boolean Whether the operation succeeded

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Currency/Bundle/Save&bundle_id=##&bundle_name=##

Sample response

{
	"bundle_id" : 123,
	"success" : true
}