{ "uuid": "c242f678-9dfc-4883-a9ea-a0ee0e6a88ae", "lastMigration": 29, "name": "Customer Support", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "1cb8a41a-9945-4bb2-8762-e43305c52fea", "documentation": "List Customer Support Customers", "method": "get", "endpoint": "customer-support/customers", "responses": [ { "uuid": "6e7acd45-8b83-49d8-a20c-eab8b5977f79", "body": "{\n \"data\": [\n {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"bank_accounts\": {\n \"account_name\": \"SPACEX LLC\",\n \"account_number\": \"123465\",\n \"account_type\": \"{{oneOf (array 'bank_account' 'credit_card' 'other')}}\",\n \"bank_code\": \"BNH\",\n \"bic\": \"AUDSCHGGXXX\",\n \"branch_identifier\": \"001\",\n \"bsb_number\": \"062-001\",\n \"currency\": \"{{oneOf (array 'UNKNOWN_CURRENCY' 'AED' 'AFN' 'ALL' 'AMD' 'ANG' 'AOA' 'ARS' 'AUD' 'AWG' 'AZN' 'BAM' 'BBD' 'BDT' 'BGN' 'BHD' 'BIF' 'BMD' 'BND' 'BOB' 'BOV' 'BRL' 'BSD' 'BTN' 'BWP' 'BYR' 'B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 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"individual\": true,\n \"last_name\": \"Musk\",\n \"notes\": \"Some notes about this customer\",\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"status\": \"{{oneOf (array 'active' 'archived' 'gdpr-erasure-request' 'unknown')}}\",\n \"tax_number\": \"US123945459\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n }\n ],\n \"links\": {\n \"current\": \"https://unify.apideck.com/crm/companies\",\n \"next\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM\",\n \"previous\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D\"\n },\n \"meta\": {\n \"cursors\": {\n \"current\": \"em9oby1jcm06OnBhZ2U6OjI=\",\n \"next\": \"em9oby1jcm06OnBhZ2U6OjM=\",\n \"previous\": \"em9oby1jcm06OnBhZ2U6OjE=\"\n },\n \"items_on_page\": 50\n },\n \"operation\": \"all\",\n \"resource\": \"customers\",\n \"service\": \"kustomer\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "CustomerSupportCustomers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ccad751f-f780-4c9c-bc27-5e5b42a726cf", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2ea7ee59-7ba9-43e1-a3e2-53e45740d7cd", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c7f703af-008e-4567-b223-6c478971212f", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bf57a493-46fb-417c-8599-f802113457a7", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f2ec3aec-410b-4c64-b40d-359c2a889b4b", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c2fff779-4dd6-4c3f-9ef2-63b0f280e215", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "86dfdefa-2857-48f9-97bf-3f802ef0a51d", "documentation": "Create Customer Support Customer", "method": "post", "endpoint": "customer-support/customers", "responses": [ { "uuid": "5e628423-261b-4105-ac3c-78328fcf7955", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"customers\",\n \"service\": \"kustomer\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "CustomerSupportCustomers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3ef09ead-80b9-4cf7-be0c-2f57da85d03e", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "93929ea0-bb08-4895-b194-0963a3542012", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "35b7533a-7fb3-4a88-9775-4e8c8ed7587a", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9ac2e3fe-79dc-4f83-8f9b-0c07f1d2d086", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9fae45bb-342a-4345-8651-047975c047a7", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c7c99c4d-6a13-4dee-8c47-0de520238171", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cd96571e-33ac-403c-8cdc-29e3b5f4b3b8", "documentation": "Delete Customer Support Customer", "method": "delete", "endpoint": "customer-support/customers/:id", "responses": [ { "uuid": "fc33dd9c-166b-4c41-b278-1579c71b2758", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"customers\",\n \"service\": \"kustomer\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "CustomerSupportCustomers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1c5ca09e-a5a7-452a-9556-562b4565e65e", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "73b97530-cceb-496b-a5c0-8d542d25fc86", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d9149c96-9a94-4bd0-9796-f30f769b7ba1", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "010846e5-90e8-4b20-9df2-66d513b52939", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a08acb4c-c956-4b5d-818b-27d7f3adf4d5", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7f824293-fb34-47d8-8962-2e4047b331ad", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "04db6e00-c2fb-430e-bb47-0325cdc0815f", "documentation": "Get Customer Support Customer", "method": "get", "endpoint": "customer-support/customers/:id", "responses": [ { "uuid": "0215a0c8-2129-47f6-87fd-84d7098ae772", "body": "{\n \"data\": {\n \"addresses\": [\n {\n \"city\": \"San Francisco\",\n \"contact_name\": \"Elon Musk\",\n \"country\": \"US\",\n \"county\": \"Santa Clara\",\n \"email\": \"elon@musk.com\",\n \"fax\": \"122-111-1111\",\n \"id\": \"123\",\n \"latitude\": \"40.759211\",\n \"line1\": \"Main street\",\n \"line2\": \"apt #\",\n \"line3\": \"Suite #\",\n \"line4\": \"delivery instructions\",\n \"longitude\": \"-73.984638\",\n \"name\": \"HQ US\",\n \"phone_number\": \"111-111-1111\",\n \"postal_code\": \"94104\",\n \"row_version\": \"1-12345\",\n \"salutation\": \"Mr\",\n \"state\": \"CA\",\n \"street_number\": \"25\",\n \"string\": \"25 Spring Street, Blackburn, VIC 3130\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'office' 'shipping' 'billing' 'other')}}\",\n \"website\": \"https://elonmusk.com\"\n }\n ],\n \"bank_accounts\": {\n \"account_name\": \"SPACEX LLC\",\n \"account_number\": \"123465\",\n \"account_type\": \"{{oneOf (array 'bank_account' 'credit_card' 'other')}}\",\n \"bank_code\": \"BNH\",\n \"bic\": \"AUDSCHGGXXX\",\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 'SLL' 'SOS' 'SRD' 'SSP' 'STD' 'SVC' 'SYP' 'SZL' 'THB' 'TJS' 'TMT' 'TND' 'TOP' 'TRC' 'TRY' 'TTD' 'TWD' 'TZS' 'UAH' 'UGX' 'USD' 'USN' 'USS' 'UYI' 'UYU' 'UZS' 'VEF' 'VND' 'VUV' 'WST' 'XAF' 'XAG' 'XAU' 'XBA' 'XBB' 'XBC' 'XBD' 'XCD' 'XDR' 'XOF' 'XPD' 'XPF' 'XPT' 'XTS' 'XXX' 'YER' 'ZAR' 'ZMK' 'ZMW' 'BTC')}}\",\n \"emails\": [\n {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n }\n ],\n \"first_name\": \"Elon\",\n \"id\": \"12345\",\n \"individual\": true,\n \"last_name\": \"Musk\",\n \"notes\": \"Some notes about this customer\",\n \"phone_numbers\": [\n {\n \"area_code\": \"323\",\n \"country_code\": \"1\",\n \"extension\": \"105\",\n \"id\": \"12345\",\n \"number\": \"111-111-1111\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'home' 'work' 'office' 'mobile' 'assistant' 'fax' 'direct-dial-in' 'personal' 'other')}}\"\n }\n ],\n \"status\": \"{{oneOf (array 'active' 'archived' 'gdpr-erasure-request' 'unknown')}}\",\n \"tax_number\": \"US123945459\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"customers\",\n \"service\": \"kustomer\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "CustomerSupportCustomers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4740615b-7e94-41a2-943a-5f2af65870fd", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f25dd9c2-4703-4d50-9264-e5cea199bea9", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "36fdd254-c9b5-4ecd-a629-e53b85cadda4", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5252cc38-40b2-4fc3-a47e-13a3a7c241ee", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fb8923ea-f8b8-45b7-b34f-7f9462fd7d07", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3172adf-6802-488a-9b72-fc3a24b260fb", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8c45a74b-c3da-4f20-8ceb-b12c2bca6131", "documentation": "Update Customer Support Customer", "method": "patch", "endpoint": "customer-support/customers/:id", "responses": [ { "uuid": "3a1fdfd4-97b4-4234-b267-c1d87ecf40b6", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"customers\",\n \"service\": \"kustomer\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "CustomerSupportCustomers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "54cee29d-5c5e-423f-9d11-f81070053629", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "29794995-d5c3-4f1d-8be1-5bdd5941a4ee", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "79374367-4beb-4c37-b2db-211a694b4aa7", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "080d2948-7e0c-4d50-a65a-40ab01fb9c20", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "87428282-74ef-4b00-b6cb-178d65559f77", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a56f352c-c259-426b-aeed-8bba7eab6e0a", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "1cb8a41a-9945-4bb2-8762-e43305c52fea" }, { "type": "route", "uuid": "86dfdefa-2857-48f9-97bf-3f802ef0a51d" }, { "type": "route", "uuid": "cd96571e-33ac-403c-8cdc-29e3b5f4b3b8" }, { "type": "route", "uuid": "04db6e00-c2fb-430e-bb47-0325cdc0815f" }, { "type": "route", "uuid": "8c45a74b-c3da-4f20-8ceb-b12c2bca6131" } ] }