Where Do I Add Api To Multivendor

Hi all,

I want to connect completed orders to an external app. I am mostly interested in the email and completed order. I am a noob and would like to know where to add the POST to get these details.

Many thanks

POST https://api.weout.com/1/ecommerce/createorder?
api_key={YOUR_API_ID}
domain={YOUR_DOMAIN_ID}
uniqueid=157S89
ipaddress=192.168.0.1
cartid = 123456
orderid = 12
ordernumber = 1257
paymentmethod = Mastercard
grandtotal = 100.00,
orderdate = 1531454869
shippingmethod = Fedex
shippingcost = 55.55,
subtotal = 70.00,
discountcode = 10off
discountvalue = 10.00,
promocode = 5off
promovalue = 5.00,
taxname =
taxcost = 0.00,
otherfeename = handling fee
otherfeecost = 3.00,
currency = USD
status = In Progress
notes = A note for order
storename = My Store
customerinfo = [
"firstname": "John",
"lastname": "Smith",
"email": "john@smith.com",
"phone": "1-800-123-1234",
"company": "MyCompany Ltd.",
"country": "United States",
]
billinginfo = [
"firstname": "John",
"lastname": "Smith",
"email": "john@smith.com",
"phone": "1-800-123-1234",
"company": "MyCompany Ltd.",
"address": "1601 Willow Road",
"address2": "Menlo Park",
"city": "New York",
"statename": "California",
"statecode": "CA",
"countryname": "United States",
"countrycode": "US",
"zipcode": "94205",
]
shippinginfo = [
"firstname": "John",
"lastname": "Smith",
"email": "john@smith.com",
"phone": "1-800-123-1234",
"company": "MyCompany Ltd.",
"address": "1601 Willow Road",
"address2": "Menlo Park",
"city": "New York",
"statename": "California",
"statecode": "CA",
"countryname": "United States",
"countrycode": "US",
"zipcode": "94205",
]

You can use hooks in the fn_change_order_status function (app/functions/fn.cart.php) to send data to external system. The $order_info array contains necessary order information

Thank you and where do I find cart ID please?

Thank you and where do I find cart ID please?

Cart objects do not have unique ID in CS-Cart. User order ID instead