-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweship.io.json.postman_collection
More file actions
1 lines (1 loc) · 12.7 KB
/
weship.io.json.postman_collection
File metadata and controls
1 lines (1 loc) · 12.7 KB
1
{"id":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","name":"weship(io)","description":"weship(io) API requests examples collection","order":[],"folders":[{"id":"b1d87f1f-cd5b-f304-f756-09ad5bc0fbfe","name":"packages","description":"","order":["b8fdce5d-2872-784c-afc8-7ecb967ec4f6","5a1343cb-ee0d-d974-4f0c-26a9893c9fc2","02f6d9c2-49f7-66ca-bb50-c5fa510a6026","bd32302b-2c86-2e3c-4d2b-9df75081ec8c","a7bb4110-5362-50e8-cb7f-b0dbd81d3b9e"],"collection_name":"weship(io)","collection_id":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319"},{"id":"f2f62a7c-55aa-ea58-9d13-1f7c721eb78d","name":"rates","description":"","order":["9135787a-590c-5289-d65f-de5970ad9ee0","bae86639-a893-1d85-596c-213d6685d237"],"collection_name":"weship(io)","collection_id":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319"},{"id":"7df2ef88-7295-1fa6-7567-7ca067877063","name":"shipments","description":"","order":["e63a00a9-bea2-f721-45d6-fedb483c33a8","b8fdce5d-2872-784c-afc8-7ecb967ec4f6","62d3dcb0-7104-a4ac-5f76-8c4113ce298e","30ac2685-fa36-cbd2-b6f6-a5714ec593a3","1ebfa3f4-7de4-95b8-8986-c0295f5824b3","e11e6a81-14fc-1f0d-a07d-861cc474195e","d142c1f8-c77e-81ea-4887-be8b4839b6aa","dc0be938-343a-dfcd-7952-7ef14365ab61"],"collection_name":"weship(io)","collection_id":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319"}],"timestamp":1385026969291,"synced":false,"requests":[{"id":"02f6d9c2-49f7-66ca-bb50-c5fa510a6026","url":"http://localhost:3000/api/v1/packages/","data":[],"headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"params","method":"GET","version":2,"time":1385531184912,"name":"Packages list","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"1ebfa3f4-7de4-95b8-8986-c0295f5824b3","url":"http://localhost:3000/api/v1/shipments/","data":[],"headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"params","method":"GET","version":2,"time":1385379347811,"name":"Shipments list","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"30ac2685-fa36-cbd2-b6f6-a5714ec593a3","url":"http://localhost:3000/api/v1/shipments/36CDA8EC12B540CA80047A3F7CA99C18","data":"{\n \"shipment\":{\n \"options\": {\n \t \"signature_type\": \"required\",\n \"label_size\": \"4X6\",\n \"label_type\": \"pdf\",\n \"remarks\": \"My test shipment remarks\",\n \"saturday_delivery\": true\n }\n }\n \n}","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"raw","method":"PUT","version":2,"time":1385378406250,"name":"Update only two shipment params","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"5a1343cb-ee0d-d974-4f0c-26a9893c9fc2","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","url":"http://localhost:3000/api/v1/packages/10","method":"POST","data":"{\n \"package\": {\n \"title\": \"My4 package\",\n \"width\":3,\n \"length\":1,\n \"height\":3\n } \n}","dataMode":"raw","name":"Update package","description":"","descriptionFormat":"html","time":1385529886148,"version":2,"responses":[],"collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","synced":false},{"id":"62d3dcb0-7104-a4ac-5f76-8c4113ce298e","url":"http://localhost:3000/api/v1/shipments/36CDA8EC12B540CA80047A3F7CA99C18","data":"{\n \"shipment\":{\n \"from\":{\n \"line1\":\"1 Infinite Loop\",\n \"line2\":null,\n \"city\":\"Cupertino\",\n \"state\":\"CA\",\n \"zip\":\"95014\",\n \"country\":\"US\",\n \"is_residential\":false, \n \"name\": \"Sender Name\",\n \"company\": \"Sender company\",\n \"phone\": \"1234567890\",\n \"email\": \"test@example.com\"},\n \"to\":{\n \"line1\":\"1600 Amphitheatre Pkwy\",\n \"line2\":null,\n \"city\":\"Mountain View\",\n \"state\":\"CA\",\n \"zip\":\"94043\",\n \"country\":\"US\",\n \"is_residential\":true,\n \"name\":\"Receiver name\",\n \"company\":\"Receiver company\",\n \"phone\":\"1234567890\",\n \"email\":\"test@receiver.com\"},\n \"package_type\": \"box\",\n \"packages\":[\n {\n \"length\":1,\n \"width\":1,\n \"height\":3,\n \"weight\":3.1,\n \"insured_value\": \"1000\"\n },\n {\n \"title\": \"My package\",\n \"weight\": 12.2,\n \"insured_value\": \"1000\"\n }\n ],\n \"carrier\": {\n \t\"name\": \"UPS\",\n \t\"service\" : \"ground\",\n \t\"credentials\": \"WESHIP\"\n \t},\n \"options\": {\n \t \"signature_type\": \"adult\",\n \"label_size\": \"4X6\",\n \"label_type\": \"pdf\",\n \"remarks\": \"My test shipment\",\n \"saturday_delivery\": true\n }\n }\n \n}","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"raw","method":"PUT","version":2,"time":1385378200362,"name":"Update shipment","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"9135787a-590c-5289-d65f-de5970ad9ee0","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","url":"http://localhost:3000/api/v1/shipments/36CDA8EC12B540CA80047A3F7CA99C18/rates","method":"GET","data":[],"dataMode":"params","name":"Get rates for shipment","description":"","descriptionFormat":"html","time":1385379669147,"version":2,"responses":[],"collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","synced":false},{"id":"a7bb4110-5362-50e8-cb7f-b0dbd81d3b9e","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","url":"http://localhost:3000/api/v1/packages/10","method":"DELETE","data":[],"dataMode":"params","name":"Delete package","description":"","descriptionFormat":"html","time":1385531426391,"version":2,"responses":[],"collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","synced":false},{"id":"b8fdce5d-2872-784c-afc8-7ecb967ec4f6","url":"http://localhost:3000/api/v1/packages/","data":"{\n \"package\": {\n \"title\": \"Myq package\",\n \"width\":3,\n \"length\":1,\n \"height\":3\n } \n}","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"raw","method":"POST","version":2,"time":1385460821843,"name":"Create Package","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"bae86639-a893-1d85-596c-213d6685d237","url":"http://localhost:3000/api/v1/shipments/rates","data":"{\n \"from_zip\": \"77060\",\n \"to_zip\": \"94040\",\n \"residential\": true,\n \"carrier\": {\n \"name\": \"FEDEX\"\n },\n \"packages\": [\n {\n \"weight\":3,\n \"length\":1,\n \"width\":1,\n \"height\":3\n \t},\n {\n \t\n \"weight\":3,\n \"length\":1,\n \"width\":1,\n \"height\":3\n \n \t}\n ]\n \n}","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"raw","method":"POST","version":2,"time":1385454777568,"name":"Simple rates","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"bd32302b-2c86-2e3c-4d2b-9df75081ec8c","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","url":"http://localhost:3000/api/v1/packages/10","method":"GET","data":[],"dataMode":"params","name":"Package by id","description":"","descriptionFormat":"html","time":1385531170529,"version":2,"responses":[],"collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","synced":false},{"id":"d142c1f8-c77e-81ea-4887-be8b4839b6aa","url":"http://localhost:3000/api/v1/shipments/2F615342E0B84D548DD195F301E09845/buy","data":"","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"raw","method":"PUT","version":2,"time":1385456084175,"name":"Buy shipment","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"dc0be938-343a-dfcd-7952-7ef14365ab61","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","url":"http://localhost:3000/api/v1/shipments/purchase","method":"POST","data":"{\n \"shipment\":{\n \"from\":{\n \"line1\":\"1 Infinite Loop\",\n \"line2\":null,\n \"city\":\"Cupertino\",\n \"state\":\"CA\",\n \"zip\":\"95014\",\n \"country\":\"US\",\n \"is_residential\":false, \n \"name\": \"Sender Name\",\n \"company\": \"Sender company\",\n \"phone\": \"1234567890\",\n \"email\": \"test@example.com\"},\n \"to\":{\n \"line1\":\"1600 Amphitheatre Pkwy\",\n \"line2\":null,\n \"city\":\"Mountain View\",\n \"state\":\"CA\",\n \"zip\":\"94043\",\n \"country\":\"US\",\n \"is_residential\":true,\n \"name\":\"Receiver name\",\n \"company\":\"Receiver company\",\n \"phone\":\"1234567890\",\n \"email\":\"test@receiver.com\"},\n \"package_type\": \"box\",\n \"packages\":[\n {\n \"length\":1,\n \"width\":1,\n \"height\":3,\n \"weight\":3.1,\n \"insured_value\": \"1000\"\n },\n {\n \"title\": \"My package\",\n \"weight\": 12.2,\n \"insured_value\": \"1000\"\n }\n ],\n \"carrier\": {\n \t\"name\": \"FEDEX\",\n \t\"service\" : \"1day\",\n \t\"credentials\": \"WESHIP\"\n \t},\n \"options\": {\n \t \"signature_type\": \"adult\",\n \"label_size\": \"4X6\",\n \"label_type\": \"pdf\",\n \"remarks\": \"My test shipment\",\n \"saturday_delivery\": true\n }\n }\n \n}","dataMode":"raw","name":"Purchase one request","description":"","descriptionFormat":"html","time":1385458493794,"version":2,"responses":[],"collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","synced":false},{"id":"e11e6a81-14fc-1f0d-a07d-861cc474195e","url":"http://localhost:3000/api/v1/shipments/36CDA8EC12B540CA80047A3F7CA99C18","data":[],"headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"params","method":"GET","version":2,"time":1385379374212,"name":"Get shipment by ID","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false},{"id":"e63a00a9-bea2-f721-45d6-fedb483c33a8","url":"http://localhost:3000/api/v1/shipments/","data":"{\n \"shipment\":{\n \"from\":{\n \"line1\":\"1 Infinite Loop\",\n \"line2\":null,\n \"city\":\"Cupertino\",\n \"state\":\"CA\",\n \"zip\":\"95014\",\n \"country\":\"US\",\n \"is_residential\":false, \n \"name\": \"Sender Name\",\n \"company\": \"Sender company\",\n \"phone\": \"1234567890\",\n \"email\": \"test@example.com\"},\n \"to\":{\n \"line1\":\"1600 Amphitheatre Pkwy\",\n \"line2\":null,\n \"city\":\"Mountain View\",\n \"state\":\"CA\",\n \"zip\":\"94043\",\n \"country\":\"US\",\n \"is_residential\":true,\n \"name\":\"Receiver name\",\n \"company\":\"Receiver company\",\n \"phone\":\"1234567890\",\n \"email\":\"test@receiver.com\"},\n \"package_type\": \"box\",\n \"packages\":[\n {\n \"length\":1,\n \"width\":1,\n \"height\":3,\n \"weight\":3.1,\n \"insured_value\": \"1000\"\n },\n {\n \"title\": \"My package\",\n \"weight\": 12.2,\n \"insured_value\": \"1000\"\n }\n ],\n \"carrier\": {\n \t\"name\": \"FEDEX\",\n \t\"service\" : \"1day\",\n \t\"credentials\": \"WESHIP\"\n \t},\n \"options\": {\n \t \"signature_type\": \"adult\",\n \"label_size\": \"4X6\",\n \"label_type\": \"pdf\",\n \"remarks\": \"My test shipment\",\n \"saturday_delivery\": true\n }\n }\n \n}","headers":"Content-Type: application/json\nAuthorization: Token token=\"e4ed4381607135cf240d0060b7c9f4e8a39e119d917c843463188ac9be9b42f9\"\n","dataMode":"raw","method":"POST","version":2,"time":1385455421029,"name":"Create shipment","description":"","collectionId":"85b8dc0a-31da-1a0c-b1b0-aaf5953d0319","responses":[],"synced":false}]}