API Reference
Order
POSThttps://www.fieldproriver.com/fieldpro/order
Parameters
| Name | Description |
|---|---|
body *
(body) |
Post { "request_type": "createorder", "type": "Installation", "description": "AUTO ASSIGN LOG", "wo_category_skill_name": "Installation", "email": "john@classesmail.com", "phnumber": "562-468-3955", "alternate_phone": "323-985-3035", "firstname":"John C ", "lastname":"Reynoso", "userid":"AR12", "addressline1":"4832 Locust Court", "addressline2":"4832", "city":"LOS ANGELES", "zip":"90001", "state":"California", "country":"USA", "custom_details_info":{ "product_name":"MI 10", "order_number":"100" }, "workorder_cost":"100", "multiple_slots":"true", "multiple_slots_data":[ { "uid":"11", "uemail":"tech15@g.com", "st":"1567132200", "et":"1567139400", "date":"FriAug302019", "time":"13: 00-15: 00", "fptz":"america/los_angeles", "timez":"13: 00-15: 00", "slotid":"sl111567132200" } ] "workorder_items":[ { "amount":"100", "quantity":"1", "woid":"1049", "total_amount":"120", "name":"TV", "tax":"20", "category":"TV", "unit_price":"100", }, { "amount":"12", "quantity":"1", "woid":"1049", "total_amount":"120", "name":"REMOTE", "tax":"20", "category":"TV", "unit_price":"100", } ] } |
Responses
| Status | True/False |
Big-commerce
POSThttps://www.fieldproriver.com/api/big_commerce
Parameters
| Name | Description |
|---|---|
body *
(body) |
{ "scope": 'store/order/created', "destination": 'https://www.fieldproriver.com/api/big_commerce', "is_active": true } { "orders":{ "id":19671596, "client_id": "5kvga54mblcd5b9m2i91la00a459mhc", "store_hash": "k2i61uj0l7", "scope":"store/order/created", "destination":"https://www.fieldproriver.com/api/big_commerce", "headers":null, "is_active":true, "created_at":1571383241, "updated_at":1571383241 } } { "scope": "store/order/created", "store_id": "1000732473", "data":{ "type": "order", "id": 104 }, "hash": "365610c72dde8cb353afe249e72c739c3e77e4de", "created_at": 1571383746, "producer": "stores/k2i61uj0l7" } |
Responses
| Status | True/False |
