# API: Order configuration upgrade
# orderConfigUpgrade
Create new order on customer behalf that will upg
# Required parameters
Parameter | Description |
---|---|
id | Account ID |
new[Category ID1] | New value for this category, either item Id or quantity value |
new[Category ID2] | New value for this category, either item Id or quantity value |
new[...] | ... |
# Optional parameters
Parameter | Description |
---|---|
module | Payment module ID invoice should be generated with |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=orderConfigUpgrade&id=ID&new%5BCategory+ID1%5D=NEW%5BCATEGORY+ID1%5D&new%5BCategory+ID2%5D=NEW%5BCATEGORY+ID2%5D&new%5B...%5D=NEW%5B...%5D
# PHP Samples
# Response
{
"success": true,
"checkout": {
"invoice_id": "75",
"total": 48,
"gateway": "4",
"order_id": "69",
"order_num": 999054726,
"newtotal": 1376
},
"call": "orderConfigUpgrade",
"server_time": 1344000642,
"info": [
"upgrade_order_success"
]
}