HTTP Method | POST |
API URL | http://SepStore.IR/api/v1 |
Response format | JSON |
Parameters | Description |
---|---|
api_token | Your API key |
action | Action name [ list,add ] |
Example response for "list" method:
{
"state":"OK",
"services": [
{
"id":"1",
"title":"service_title",
"alias":"service_type",
"quantity":"quantity_for_order",//in persian instagram follower package types
"price":"price_for_order",//in persian instagram follower package types
"min_req":"minimum_quantity_of_order",//in non persian instagram follower package types
"max_req":"maximum_quantity_of_order",//in non persian instagram follower package types
"price_unit":"price_per_1",//in non persian instagram follower package types
"description":"service_description"
},
{
"id":"2",
"title":"service_title",
"alias":"service_type",
"quantity":"quantity_for_order",//in persian instagram follower package types
"price":"price_for_order",//in persian instagram follower package types
"min_req":"minimum_quantity_of_order",//in non persian instagram follower package types
"max_req":"maximum_quantity_of_order",//in non persian instagram follower package types
"price_unit":"price_per_1",//in non persian instagram follower package types
"description":"service_description"
}
]
}
if token isn't send or token is invalid :
{ "state" : "NOK","message":"token_not_found"}
if action is not in list [ list, add ] :
{ "state" : "NOK","message":"action_not_permitted"}
if request parameters is not sent correctly :
{ "state" : "NOK","message":"bad_request"}
Parameters | Description |
---|---|
api_token | Your API key |
action | Action name [ status ] |