{"info":{"_postman_id":"70eeb05d-73f2-4bff-aa73-421b23bade4f","name":"GG - White Label Corporate","description":"<html><head></head><body><p>API Provider for the GG White Label Environment. Obtain your client_id/secret (for your hash) from your GG Account Manager.</p>\n<p>This API is used to:</p>\n<ul>\n<li>Add, invite and modify corporate user profiles</li>\n<li>Pull user and gift reports</li>\n<li>Create both full and draft orders</li>\n<li>Manipulate User Contacts, and manipulate user events</li>\n<li>Pull all corporate categories</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4028164","collectionId":"70eeb05d-73f2-4bff-aa73-421b23bade4f","publishedId":"SzYW3fxk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-29T19:21:18.000Z"},"item":[{"name":"User","item":[{"name":"invite","id":"24850a50-9fdd-4125-9936-d117e984ca62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"25352361\",\n\t\"token\": \"1d04ab8bf7033b9d27535294af612383\",\n\t\"version\": \"2.6\",\n\t\"device_id\": \"6d1b1eadcc158d6aeeddd8dbc7f8fc\",\n\t\"device_type\": \"5\",\n\t\"email\": \"sean@giftagram.com\",\n\t\"role\": \"user\",\n\t\"firstname\": \"Sean\",\n\t\"lastname\": \"Zhou\",\n\t\"phone\": \"\",\n\t\"job_title\": \"Backend Developer\",\n\t\"department\": \"Giftagram Dev\"\n}"},"url":"{{url}}/corp/user/invite","description":"<p>Invite a new user to a corporate account.</p>\n","urlObject":{"path":["corp","user","invite"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24850a50-9fdd-4125-9936-d117e984ca62"},{"name":"invitation-email","id":"a8efef75-18a9-46ae-8fad-4516c213a085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/corp/user/invitation-email","description":"<p>(Re-)Send Corporate Invitation Email to a User</p>\n","urlObject":{"path":["corp","user","invitation-email"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8efef75-18a9-46ae-8fad-4516c213a085"},{"name":"create-account","id":"2dd3700e-91e9-4fc0-9463-19fd25662a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/corp/user/create-account?hash={{invite_hash}}&user_id={{user_id}}","description":"<p>Start the creation process of a user account.</p>\n","urlObject":{"path":["corp","user","create-account"],"host":["{{url}}"],"query":[{"key":"hash","value":"{{invite_hash}}"},{"key":"user_id","value":"{{user_id}}"}],"variable":[]}},"response":[],"_postman_id":"2dd3700e-91e9-4fc0-9463-19fd25662a8e"},{"name":"create-account","id":"c35fc33a-316a-4120-a2de-76490d5158a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"user_id\": \"{{user_id}}\",\n  \"hash\": \"{{invite_hash}}}\",\n  \"firstname\": \"{{firstname}}\",\n  \"lastname\": \"{{lastname}}\",\n  \"email\": \"{{email_address}}\",\n  \"password\": \"{{password}}\",\n  \"confirm_password\": \"{{password_confirmation}}\",\n  \"device_type\": \"{{device_type}}\",\n  \"device_id\": \"{{unique_device_id}}\"\n}"},"url":"{{url}}/corp/user/create-account","description":"<p>Initiate create user account.</p>\n","urlObject":{"path":["corp","user","create-account"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c35fc33a-316a-4120-a2de-76490d5158a0"},{"name":"signin","id":"5ce0a062-f054-4f43-bffc-10e0ab8f6946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"{{email_address}}\",\n\t\"password\": \"{{password}}\"\n}"},"url":"{{url}}/corp/user/signin","description":"<p>Login to user account.</p>\n","urlObject":{"path":["corp","user","signin"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ce0a062-f054-4f43-bffc-10e0ab8f6946"},{"name":"list","id":"8525d79a-cd52-4a7e-9b78-7faf25c48880","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/corp/user/list?user_id={{user_id}}&view_all=1&role=all&token={{user_token}}","description":"<p>Get list of all users under a corporate account, by role.</p>\n","urlObject":{"path":["corp","user","list"],"host":["{{url}}"],"query":[{"key":"user_id","value":"{{user_id}}"},{"key":"view_all","value":"1"},{"key":"role","value":"all"},{"key":"token","value":"{{user_token}}"}],"variable":[]}},"response":[],"_postman_id":"8525d79a-cd52-4a7e-9b78-7faf25c48880"},{"name":"edit-profile","id":"32793c25-2bb7-4db7-8bc0-064daa1391e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"device_type\": 5,\n  \"corporate_id\": \"1\",\n  \"location\": \"11\",\n  \"device_id\": \"{{unique_device_id}}\",\n  \"user_id\": \"{{user_token}}\",\n  \"token\": \"{{user_token}}\",\n  \"admin\": 1,\n  \"owner\": 1,\n  \"firstname\": \"{{firstname}}\",\n  \"lastname\": \"{{lastname}}\",\n  \"email\": \"{{email_address}}\",\n  \"phone\": \"{{phone_number}}\",\n  \"password_old\": \"{{old_password}}\",\n  \"password_new\": \"{{password}}\",\n  \"confirm_password_new\": \"{{password_confirm}}\",\n  \"is_phone\": \"1\",\n  \"is_email\": \"1\",\n  \"gender\": \"\",\n  \"fbEmail\": \"\",\n  \"username\": \"{{email}}\",\n  \"city\": \"Toronto\",\n  \"country\": \"Canada\",\n  \"birthdate\": \"{{birthdate}}\"\n}"},"url":"{{url}}/corp/user/edit-profile","description":"<p>Edit / modify a user's profile</p>\n","urlObject":{"path":["corp","user","edit-profile"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"32793c25-2bb7-4db7-8bc0-064daa1391e3"},{"name":"remove","id":"8426a02e-79c6-49e7-a696-232ee0e2f4cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\",\n\t\"version\": \"2.6\",\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\":  \"{{device_type}}\",\n\t\"remove_user_id\": \"{{ref_user_id}}\"\n}"},"url":"{{url}}/corp/user/remove","description":"<p>Remove a corporate user.</p>\n","urlObject":{"path":["corp","user","remove"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8426a02e-79c6-49e7-a696-232ee0e2f4cf"},{"name":"retrieve-profile","id":"cbbf541a-490f-4d0a-9f38-c21f4212424f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\",\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\": \"{{device_type}}\"\n}"},"url":"{{url}}/corp/user/profile","description":"<p>Retrieve a corporate user's profile. </p>\n","urlObject":{"path":["corp","user","profile"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbbf541a-490f-4d0a-9f38-c21f4212424f"},{"name":"company-info","id":"2c2460fd-9197-4595-ad3d-8f778c7de009","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\": \"{{device_type}}\",\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\"\n}"},"url":"{{url}}/corp/user/company-info","description":"<p>Update Company information for a Corporate User.</p>\n","urlObject":{"path":["corp","user","company-info"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c2460fd-9197-4595-ad3d-8f778c7de009"}],"id":"e365b824-f950-4c13-ae66-f5334d5f787b","description":"<p>Provider for User actions</p>\n","_postman_id":"e365b824-f950-4c13-ae66-f5334d5f787b"},{"name":"Order","item":[{"name":"amalgamated-list","id":"7c7be759-7211-4940-b531-f299c3d7c6e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"page\": 1,\n  \"limit\": 10,\n  \"tab\": \"upcoming\",\n  \"date_from\": \"2020-01-06T22:02:53.985Z\",\n  \"date_to\": \"2020-02-04T22:02:53.985Z\",\n  \"category_id\": null,\n  \"sender_id\": \"{{ref_user_id}}\",\n  \"device_id\":  \"{{unique_device_id}}\",\n  \"device_type\": \"{{device_type}}\",\n  \"user_id\": \"{{user_token}}\",\n  \"token\": \"{{user_token}}\"\n}"},"url":"{{url}}/corp/order/amalgamated-list","urlObject":{"path":["corp","order","amalgamated-list"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c7be759-7211-4940-b531-f299c3d7c6e8"},{"name":"Corp Account Gift Report","id":"7e9bde2c-6028-48bd-b3a2-8f2b3e025f2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n \n    \"location\": 3,\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\": \"{{device_type}}\",\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\",\n    \"admin\": 1,\n    \"owner\": 1,\n    \"limit\": 5,\n    \"sort\": \"name\",\n    \"direction\": \"asc\"\n}"},"url":"{{url}}/corp/account/inventory","description":"<p>Pull a report of gifts sent. Filterable by user, and can be sorted during the API request.</p>\n","urlObject":{"path":["corp","account","inventory"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e9bde2c-6028-48bd-b3a2-8f2b3e025f2d"},{"name":"Corp Account User Report","id":"a70e7359-b9ee-417f-8569-0b568a340b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"location\": 3,\n    \"device_id\":  \"{{unique_device_id}}\",\n    \"device_type\": \"{{device_type}}\",\n    \"user_id\": \"{{user_token}}\",\n    \"token\": \"{{user_token}}\",\n    \"corporate_id\": \"1\",\n    \"admin\": 1,\n    \"owner\": 1,\n    \"limit\": 5,\n    \"sort\": \"name\",\n    \"direction\": \"asc\"\n}"},"url":"{{url}}/corp/account/inventory","description":"<p>Pull a report of gifts sent by a specific user.</p>\n","urlObject":{"path":["corp","account","inventory"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a70e7359-b9ee-417f-8569-0b568a340b81"},{"name":"Order","id":"436f85e8-82a0-4a15-94af-61b33c6616e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{  \n   \"device\":{  \n      \"location\": \"{{location_id}}\",\n      \"device_id\":  \"{{unique_device_id}}\",\n      \"device_type\": \"{{device_type}}\",\n      \"user_id\": \"{{user_token}}\",\n      \"token\": \"{{user_token}}\"\n   },\n   \"sender\":{  \n      \"firstname\": \"{{sender_firstname}}\",\n      \"lastname\": \"{{sender_lastname}}\",\n      \"email\": \"{{sender_email_address}}\",\n      \"phone\": \"{{sender_phone_number}}\",\n      \"city\":\"Toronto\",\n      \"country\":\"Canada\"\n   },\n   \"recipient\":{  \n      \"contact\":\"\",\n      \"title\":\"recipient\",\n      \"firstname\":\"{{recipient_firstname}}\",\n      \"lastname\":\"{{recipient_lastname}}\",\n      \"email\":\"{{recipient_email}}\",\n      \"phone\":\"\",\n      \"mainaddress\":\"\",\n      \"address1\":\"\",\n      \"street_number\":\"\",\n      \"street_address\":\"\",\n      \"unitnumber\":\"\",\n      \"city\":\"\",\n      \"provience\":\"\",\n      \"postal\":\"\",\n      \"description\":\"\"\n   },\n   \"order\":{  \n      \"title\":\"order\",\n      \"active\":0,\n      \"shipping_text\":\"\",\n      \"tax_estimate\":\"5.07\",\n      \"pre_tax_total\":0,\n      \"total\":\"24.07\",\n      \"gifts_total\":\"24.00\",\n      \"usedcredit\":\"20.00\",\n      \"shipping_cost\":\"15.00\"\n   },\n   \"checkout_type\":\"text_email\",\n   \"gifts\":[  \n      {  \n         \"id\": \"{{gift_id}}\",\n         \"price\": \"{{gift_price}}\",\n         \"total\":\"$24\",\n         \"option_id\":\"{{option_id}}\",\n         \"quantity\": \"{{quantity}}\"\n      }\n   ]\n}"},"url":"{{url}}/api/order/submit","description":"<p>Submit an order to send a gift. Requires the sender and recipient.</p>\n","urlObject":{"path":["api","order","submit"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"436f85e8-82a0-4a15-94af-61b33c6616e7"},{"name":"corp order csv download","id":"20b71451-29bc-4158-ba13-11691909c4fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"url":"{{url}}/corp/order/order-download?user_id={{user_id}}&tab=upcoming&all_orders=0","description":"<p>Pull a list of orders as a CSV file.</p>\n","urlObject":{"path":["corp","order","order-download"],"host":["{{url}}"],"query":[{"key":"user_id","value":"{{user_id}}"},{"key":"tab","value":"upcoming"},{"key":"all_orders","value":"0"}],"variable":[]}},"response":[],"_postman_id":"20b71451-29bc-4158-ba13-11691909c4fd"},{"name":"Place draft order","id":"13f4d51e-b30e-4d67-850b-32f7a675fd17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{  \n   \"device\":{  \n      \"location\": \"{{location_id}}\",\n      \"device_id\":  \"{{unique_device_id}}\",\n      \"device_type\": \"{{device_type}}\",\n      \"user_id\": \"{{user_token}}\",\n      \"token\": \"{{user_token}}\"\n   },\n   \"sender\":{  \n      \"firstname\": \"{{sender_firstname}}\",\n      \"lastname\": \"{{sender_lastname}}\",\n      \"email\": \"{{sender_email_address}}\",\n      \"phone\": \"{{sender_phone_number}}\",\n      \"city\":\"Toronto\",\n      \"country\":\"Canada\"\n   },\n   \"recipient\":{  \n      \"contact\":\"\",\n      \"title\":\"recipient\",\n      \"firstname\":\"{{recipient_firstname}}\",\n      \"lastname\":\"{{recipient_lastname}}\",\n      \"email\":\"{{recipient_email}}\",\n      \"phone\":\"\",\n      \"mainaddress\":\"\",\n      \"address1\":\"\",\n      \"street_number\":\"\",\n      \"street_address\":\"\",\n      \"unitnumber\":\"\",\n      \"city\":\"\",\n      \"provience\":\"\",\n      \"postal\":\"\",\n      \"description\":\"\"\n   },\n   \"order\":{  \n      \"title\":\"order\",\n      \"active\":0,\n      \"shipping_text\":\"\",\n      \"tax_estimate\":\"\",\n      \"pre_tax_total\":0,\n      \"total\":\"\",\n      \"gifts_total\":\"\",\n      \"usedcredit\":\"{{used_credit_amount}}\",\n      \"shipping_cost\":\"\"\n   },\n   \"checkout_type\":\"text_email\",\n   \"gifts\":[  \n      {  \n         \"id\": \"{{gift_id}}\",\n         \"price\": \"{{gift_price}}\",\n         \"total\":\"$24\",\n         \"option_id\":\"{{option_id}}\",\n         \"quantity\": \"{{quantity}}\"\n      }\n   ]\n}"},"url":"{{url}}/corp/order/place-draft","description":"<p>Place a draft order. Draft orders allow for asynchronous order placement, where part of the sender order is made by one user, and can then be continued by another user.</p>\n","urlObject":{"path":["corp","order","place-draft"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"13f4d51e-b30e-4d67-850b-32f7a675fd17"}],"id":"e760caba-ebb9-494b-b892-9e133000a6c6","_postman_id":"e760caba-ebb9-494b-b892-9e133000a6c6","description":""},{"name":"Contacts","item":[{"name":"Add Contact","id":"3988e001-e9e5-4832-812d-2e7a6e68f85a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\": \"{{device_type}}\",\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\",\n\t\"email\": \"{{email_address}}\",\n\t\"phone\": \"{{phone_number}}\",\n\t\"firstname\": \"{{firstname}}\",\n\t\"lastname\": \"{{lastname}}\",\n\t\"additional_fields\": \"{{additional_info}}\"\n}"},"url":"{{url}}/api/contacts/add","description":"<p>Add a contact to a Giftagram account. Contacts can then be used during the gift ordering process.</p>\n","urlObject":{"path":["api","contacts","add"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3988e001-e9e5-4832-812d-2e7a6e68f85a"},{"name":"Add Event","id":"19781673-9537-4ebe-b78c-429a4b28dbcd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\": \"{{device_type}}\",\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\",\n\t\"contact_id\": \"{{contact_id}}\",\n\t\"name\": \"{{event_type}}\",\n\t\"date\": \"{{event_date}}\"\n}"},"url":"{{url}}/api/contacts/events/add","description":"<p>Add an event to the Giftagram user. An event is a point in time that you want to track, such as a birthday, house purchase, anniversary.</p>\n","urlObject":{"path":["api","contacts","events","add"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"19781673-9537-4ebe-b78c-429a4b28dbcd"},{"name":"upcoming-events","id":"fe3738fe-999f-4b25-b309-1eae73a6bd32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/contacts/events/upcoming?user_id={{user_id}}&event_type=&after_only=1&limit=0","description":"<p>View upcoming events associated to a user.</p>\n","urlObject":{"path":["api","contacts","events","upcoming"],"host":["{{url}}"],"query":[{"key":"user_id","value":"{{user_id}}"},{"key":"event_type","value":""},{"key":"after_only","value":"1"},{"key":"limit","value":"0"}],"variable":[]}},"response":[],"_postman_id":"fe3738fe-999f-4b25-b309-1eae73a6bd32"},{"name":"list","id":"ae4cdc9b-7a5f-41b1-bd27-c5e69591ee1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"limit\": 21,\n\t\"location\": 3,\n\t\"device_id\":  \"{{unique_device_id}}\",\n\t\"device_type\": \"{{device_type}}\",\n\t\"user_id\": \"{{user_token}}\",\n\t\"token\": \"{{user_token}}\",\n\t\"admin\": 1,\n\t\"owner\": 1\n}"},"url":"{{url}}/api/contacts/list?","description":"<p>View list of contacts for a specific user. </p>\n","urlObject":{"path":["api","contacts","list"],"host":["{{url}}"],"query":[{"disabled":true,"key":"debug_exception","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ae4cdc9b-7a5f-41b1-bd27-c5e69591ee1f"}],"id":"24d145ee-dd4f-4197-8994-c1f48d8e8038","_postman_id":"24d145ee-dd4f-4197-8994-c1f48d8e8038","description":""},{"name":"Agent","item":[{"name":"Trigger Email Send","id":"41a08678-da8a-4c28-9855-068763f77669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"agent_email\": {{agent_email},\n\t\"event_type\": {{event_type}},\n\t\"first_name\": {{first_name}},\n\t\"last_name\": {{last_name}},\n\t\"email\": {{email_address}},\n\t\"phone\": {{phone}}\n\n}","options":{"raw":{"language":"json"}}},"url":"/agent/email","description":"<p>Triggers an email to be sent to the provided email address. The recipient agent will be notified in the email to send a gift and be provided with a unique url to the gifting portal. Any optional parameter provided corresponding to the recipient information will be prefilled for the agent during the checkout process.</p>\n","urlObject":{"path":["agent","email"],"query":[],"variable":[]}},"response":[],"_postman_id":"41a08678-da8a-4c28-9855-068763f77669"},{"name":"Retrieve Orders","id":"04c21f47-3419-4e89-a4ed-4203eb087be3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"agent_email\": {{agent_email},\n\t\"status\": {{order_status}},\n\t\"limit\": {{limit}},\n\t\"page\": {{page}}\n\n}","options":{"raw":{"language":"json"}}},"url":"/agent/email","description":"<p>Retrieves a list of orders for the specified agent</p>\n","urlObject":{"path":["agent","email"],"query":[],"variable":[]}},"response":[],"_postman_id":"04c21f47-3419-4e89-a4ed-4203eb087be3"}],"id":"625dffd1-f473-4def-b229-392a55b946a3","_postman_id":"625dffd1-f473-4def-b229-392a55b946a3","description":""},{"name":"Corporate Category List","id":"2754ade2-eb55-49aa-b583-99927a657a0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Client-Id","value":" {{client_id}}","type":"text"},{"key":"Timestamp","value":" {{request_timestamp}}","type":"text"},{"key":"Request-Hash","value":" {{generated_hash}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/corp/gift/categories?corporate_id={{corporate_id}}","description":"<p>Corporate Categories are filtered views of the Giftagram product catalog. This call provides a view to see all categories that a corporate account has access to.</p>\n","urlObject":{"path":["corp","gift","categories"],"host":["{{url}}"],"query":[{"key":"corporate_id","value":"{{corporate_id}}"}],"variable":[]}},"response":[],"_postman_id":"2754ade2-eb55-49aa-b583-99927a657a0c"}]}