Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveosoule/4143188efb9a950b76422685a92276dd to your computer and use it in GitHub Desktop.
Save steveosoule/4143188efb9a950b76422685a92276dd to your computer and use it in GitHub Desktop.
Miva - JSON API: Set Custom Field & Acknowledge Order
{
"Operations": [
{
"Store_Code": "ABC",
"Function": "OrderCustomFields_Update",
"Order_ID": 111111,
"CustomField_Values": {
"customfields": {
"order_received_by_acme_co": "1"
}
}
},
{
"Store_Code": "ABC",
"Function": "OrderCustomFields_Update",
"Order_ID": 222222,
"CustomField_Values": {
"customfields": {
"order_received_by_acme_co": "1"
}
}
},
{
"Store_Code": "ABC",
"Function": "Module",
"Module_Code": "orderworkflow",
"Module_Function": "OrderList_Acknowledge",
"Order_Ids": [
111111,
222222
]
}
]
}
{
"Store_Code": "ABC",
"Function": "OrderCustomFields_Update",
"Order_ID": 111111,
"CustomField_Values": {
"orderworkflow": {
"my_order_queue_code": "0"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment