{ "uuid": "fc3aab58-d719-4aab-9f5c-644a3c09669f", "lastMigration": 29, "name": "POS API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "7bd62904-794c-44ea-93c3-9df03b8e1ad8", "documentation": "List Items", "method": "get", "endpoint": "pos/items", "responses": [ { "uuid": "a95a3dd4-bb36-488d-8b03-3bce8e41fae3", "body": "{\n \"data\": [\n {\n \"abbreviation\": \"Ch\",\n \"absent_at_location_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"available\": true,\n \"available_for_pickup\": {{faker 'datatype.boolean'}},\n \"available_online\": {{faker 'datatype.boolean'}},\n \"categories\": [\n {\n \"id\": \"12345\",\n \"image_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"name\": \"Food\"\n }\n ],\n \"code\": \"11910345\",\n \"cost\": 2,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"deleted\": true,\n \"description\": \"Hot Chocolate\",\n \"hidden\": true,\n \"id\": \"#cocoa\",\n \"idempotency_key\": \"random_string\",\n \"modifier_groups\": [\n {\n \"id\": \"12345\"\n }\n ],\n \"name\": \"Cocoa\",\n \"options\": [\n {\n \"attribute_id\": \"12345\",\n \"id\": \"12345\",\n \"name\": \"Option 1\"\n }\n ],\n \"present_at_all_locations\": {{faker 'datatype.boolean'}},\n \"price_amount\": 10,\n \"price_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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"pricing_type\": \"{{oneOf (array 'fixed' 'variable' 'per_unit' 'other')}}\",\n \"product_type\": \"{{oneOf (array 'regular' 'other')}}\",\n \"sku\": \"11910345\",\n \"tax_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"variations\": [\n {\n \"id\": \"12345\",\n \"image_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"item_id\": \"12345\",\n \"name\": \"Food\",\n \"price_amount\": 10,\n \"price_currency\": \"USD\",\n \"pricing_type\": \"fixed\",\n \"sequence\": 0,\n \"sku\": \"11910345\"\n }\n ],\n \"version\": \"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\": \"Items\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Items", "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": "ea217aa4-a78a-4e8a-973c-48a8990ab831", "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": "8e1a9e0b-58f3-4323-91f1-a04c9fae38ca", "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": "ac8f5112-86de-44eb-9dad-6d75f44e44d7", "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": "67d01166-3a22-489e-a60e-e6a0a6a6d103", "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": "05bc24a1-6819-48ab-9841-78187e2c83d7", "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": "3e74a244-2648-4879-a9d7-ee85ed2b50cd", "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": "7c9efbff-334b-46d4-979a-825bacf0e7a2", "documentation": "Create Item", "method": "post", "endpoint": "pos/items", "responses": [ { "uuid": "5a3a4dde-abda-45dc-a4c1-6a5ce10b1a54", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Items\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Items", "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": "ce5a0c5b-9f88-49cf-8fed-6bbe15311675", "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": "16a49500-8d8c-4d1e-ab54-8ca4676a03fd", "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": "ab026caa-e4eb-42cb-af85-69ae1252739d", "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": "1546818e-62c4-4bf1-b4d7-386e996a6070", "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": "6a16bd20-6c64-4fd1-b62b-035948b09e23", "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": "8243e214-83b9-438d-bc0c-03869182641e", "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": "f147737d-d028-4f97-a88f-82623fd917f8", "documentation": "Delete Item", "method": "delete", "endpoint": "pos/items/:id", "responses": [ { "uuid": "3049791b-1df3-433f-9bfe-ba7e4d6b29e4", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Items\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Items", "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": "4a5c62ce-fbf0-4691-abf1-e4054e1be47b", "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": "d4a50cf2-b2a5-4392-9e2f-327b307a5f25", "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": "a05ceb33-41e8-4f30-9062-2ac220b69bfe", "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": "1b6bfe8b-91ad-4c09-a4d5-626e01bb8a67", "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": "a818bdea-8fcc-4012-a323-67874cfb65c7", "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": "e0405d95-f205-4c08-ad6a-647a565d68e0", "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": "af437fd4-9066-4a23-8835-8e82ad0201a4", "documentation": "Get Item", "method": "get", "endpoint": "pos/items/:id", "responses": [ { "uuid": "e69463ce-6531-4bcb-b29f-dc513d655a61", "body": "{\n \"data\": {\n \"abbreviation\": \"Ch\",\n \"absent_at_location_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"available\": true,\n \"available_for_pickup\": {{faker 'datatype.boolean'}},\n \"available_online\": {{faker 'datatype.boolean'}},\n \"categories\": [\n {\n \"id\": \"12345\",\n \"image_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"name\": \"Food\"\n }\n ],\n \"code\": \"11910345\",\n \"cost\": 2,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"deleted\": true,\n \"description\": \"Hot Chocolate\",\n \"hidden\": true,\n \"id\": \"#cocoa\",\n \"idempotency_key\": \"random_string\",\n \"modifier_groups\": [\n {\n \"id\": \"12345\"\n }\n ],\n \"name\": \"Cocoa\",\n \"options\": [\n {\n \"attribute_id\": \"12345\",\n \"id\": \"12345\",\n \"name\": \"Option 1\"\n }\n ],\n \"present_at_all_locations\": {{faker 'datatype.boolean'}},\n \"price_amount\": 10,\n \"price_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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"pricing_type\": \"{{oneOf (array 'fixed' 'variable' 'per_unit' 'other')}}\",\n \"product_type\": \"{{oneOf (array 'regular' 'other')}}\",\n \"sku\": \"11910345\",\n \"tax_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"variations\": [\n {\n \"id\": \"12345\",\n \"image_ids\": [\n \"12345\",\n \"67890\"\n ],\n \"item_id\": \"12345\",\n \"name\": \"Food\",\n \"price_amount\": 10,\n \"price_currency\": \"USD\",\n \"pricing_type\": \"fixed\",\n \"sequence\": 0,\n \"sku\": \"11910345\"\n }\n ],\n \"version\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"Items\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Items", "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": "83b184ec-8eec-489c-b251-52b2d943ddda", "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": "ef8e5af0-3fca-4906-900e-3a3fa4596c30", "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": "84fc34c1-9327-44d0-94e6-b47ede7b235c", "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": "0028901b-370b-4450-a958-f4c57a5c94d3", "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": "e53adda0-22c9-41cb-b17e-5a1832956d47", "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": "3f0b90b1-3e88-4ca1-985d-80ae3170385e", "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": "388f164b-049a-4a15-9866-5dcd05ec0a1c", "documentation": "Update Item", "method": "patch", "endpoint": "pos/items/:id", "responses": [ { "uuid": "eb4c23e1-b7f3-47ee-9e39-e9323a33f70f", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Items\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Items", "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": "d0f6dd69-3523-4d6a-a17c-6473c84c4092", "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": "c882902f-e977-4081-a39c-18a3d9a7ec4b", "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": "8fe1546d-15b3-4e53-bd00-2af1f280f597", "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": "d9318a62-4b73-46e6-9ff5-b634209758fe", "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": "0359b371-8452-40c0-a5f0-e3b8a5df29a5", "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": "8d997865-2ad1-400b-a69c-704f9d53ef36", "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": "2b392b3b-3222-48e3-bca0-5d6322726160", "documentation": "List Locations", "method": "get", "endpoint": "pos/locations", "responses": [ { "uuid": "a111b590-2a33-4903-ab24-46e60026c2c1", "body": "{\n \"data\": [\n {\n \"address\": {\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 \"business_name\": \"Dunkin Donuts LLC\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"merchant_id\": \"12345\",\n \"name\": \"Dunkin Donuts\",\n \"status\": \"{{oneOf (array 'active' 'inactive' 'other')}}\",\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\": \"Locations\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Locations", "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": "2e9fae49-ff5e-4b30-82b1-e6753517dc2b", "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": "0ec1ba81-0a86-49df-95bb-4567b75256b9", "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": "71da0450-5495-4f2f-8f79-b81701bda0dd", "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": "4bd227ba-77d4-4db2-b9e3-9d5112b8fd2c", "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": "f1bee049-b6aa-41d4-a334-4a4792aad11d", "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": "615435f3-c898-4bf9-8c68-e3bf9a36a5f8", "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": "14651743-d9b7-411b-830c-6e054e75f157", "documentation": "Create Location", "method": "post", "endpoint": "pos/locations", "responses": [ { "uuid": "b4e3f4aa-8e3c-4583-8c6b-a12e0cea630a", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Locations\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Locations", "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": "71c4fb49-0de8-42ac-ab5e-172ba2b9b35d", "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": "6b726709-3cc1-418a-8d0d-100fecffc8f1", "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": "550e3b5b-61fc-42b5-8663-81b5fdeb759c", "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": "cf427f51-0adc-40f3-8282-a78c00cf1a13", "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": "8fc3d292-529e-4551-b46c-4c38c7c5e25e", "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": "d781cffe-b803-4055-98e2-b7f576b8eacd", "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": "6f862ade-2da9-4634-a82e-6f2f046534f3", "documentation": "Delete Location", "method": "delete", "endpoint": "pos/locations/:id", "responses": [ { "uuid": "3bda60cf-217f-4308-be64-abc52a11eb5d", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Locations\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Locations", "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": "b3d05273-7d39-4a51-b43e-8ee77c6411e7", "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": "18088b71-e434-4c2b-85c4-550c05755d50", "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": "b9d01624-a410-4276-b58d-e1e64c5cacc2", "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": "020b4d30-bf12-44ef-a3f6-70035555b19a", "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": "22c5789e-cd95-4875-ad53-961670e775f7", "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": "e44fb4b8-3b27-4fc0-aeff-4443c754fe37", "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": "21aed62a-4bf8-4093-8eef-b55902e6fe9a", "documentation": "Get Location", "method": "get", "endpoint": "pos/locations/:id", "responses": [ { "uuid": "ce5a7989-c46d-4e2a-98f5-aed727d23f1b", "body": "{\n \"data\": {\n \"address\": {\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 \"business_name\": \"Dunkin Donuts LLC\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"merchant_id\": \"12345\",\n \"name\": \"Dunkin Donuts\",\n \"status\": \"{{oneOf (array 'active' 'inactive' 'other')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"Locations\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Locations", "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": "e9b02fbe-c43a-45fe-a46e-e52ff74183a6", "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": "c85f2f22-1a5a-4722-af4d-c482853d67cf", "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": "fa24537d-fadc-470b-baf9-e22a97005fa7", "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": "9578328d-93c7-4299-8b39-f4c5c54f604e", "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": "45c8bc0a-4af2-4129-acbe-48d7e2946529", "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": "d1afc073-3492-465b-b1b3-ee8c97065174", "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": "6f93c2f6-1c51-47e0-8acf-f857e3504012", "documentation": "Update Location", "method": "patch", "endpoint": "pos/locations/:id", "responses": [ { "uuid": "1749f57c-f985-41d3-a193-29297271c536", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Locations\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Locations", "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": "1a421ec4-9fd9-4323-acfa-e10254b4b396", "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": "3969a021-a7ba-49a9-ab4e-edba01372417", "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": "66719df4-63b9-4395-9284-fade53b93b70", "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": "c444efc4-aac8-4443-97f8-512e79e49bd7", "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": "8d3d9582-7637-4b44-83a9-4d0795f36f81", "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": "02495eb6-7b40-453a-be96-485d10c3f6a6", "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": "49ecbb24-fedb-4157-b591-68cf989f98c0", "documentation": "List Merchants", "method": "get", "endpoint": "pos/merchants", "responses": [ { "uuid": "63e92331-9acb-4fce-be06-479759e794ba", "body": "{\n \"data\": [\n {\n \"address\": {\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 \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"language\": \"EN\",\n \"main_location_id\": \"12345\",\n \"name\": \"Dunkin Donuts\",\n \"owner_id\": \"12345\",\n \"service_charges\": [\n {\n \"active\": true,\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Charge for delivery\",\n \"percentage\": 12.5,\n \"type\": \"{{oneOf (array 'auto_gratuity' 'custom')}}\"\n }\n ],\n \"status\": \"{{oneOf (array 'active' 'inactive' 'other')}}\",\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\": \"Merchants\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Merchants", "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": "c20969e1-b7a2-452b-bdeb-04557ea48f02", "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": "f6b699be-9379-4bc6-9cbd-9825be5980b8", "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": "0bdfdb37-5d69-4ee4-bfdf-717d63e4bd74", "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": "72c9a223-48f7-497d-a527-1f111ab488c3", "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": "64f31587-8eae-415b-b2c3-62d2d1b687ab", "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": "7ea58a34-c725-4767-8df7-f7d532212a6f", "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": "f3a7e52e-500e-40d4-ac47-9f3c61a7011d", "documentation": "Create Merchant", "method": "post", "endpoint": "pos/merchants", "responses": [ { "uuid": "7ec031f2-1342-4665-948c-fa233afe8435", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Merchants\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Merchants", "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": "69fa1720-8125-4b20-afb0-b9b692707444", "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": "fbc51d8b-ef96-404d-8918-96646328f689", "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": "9c67834e-3ecb-4e8c-ace8-371861ab8caf", "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": "0ce72f8a-4649-4700-bb24-5d7f86e58d33", "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": "3dc5d59d-8772-4168-9943-22525513a9de", "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": "617b11b9-f482-46d5-b7c1-762a4d4d507b", "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": "227d9750-52a7-43e2-8527-b3be27b2ba58", "documentation": "Delete Merchant", "method": "delete", "endpoint": "pos/merchants/:id", "responses": [ { "uuid": "26444b70-8706-491b-9c80-0c49c2f197d5", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Merchants\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Merchants", "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": "27ac5dbd-6a01-4a52-8dbf-45242ded65e4", "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": "c5ba68d0-03a0-4864-b8d6-da60e9a582a5", "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": "351a518d-1839-47ce-b22e-434d7ab8d088", "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": "df4dcb49-8cc2-432f-a871-900c29672235", "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": "7bde0ab0-def0-439b-9600-cd7550bf3e51", "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": "a92e2187-03e7-4dfb-abab-b90c0bf17365", "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": "69af6024-9efe-49f0-a6b1-688a4c0f7eb0", "documentation": "Get Merchant", "method": "get", "endpoint": "pos/merchants/:id", "responses": [ { "uuid": "55929d43-c55a-4759-a3dd-565deedad57f", "body": "{\n \"data\": {\n \"address\": {\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 \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"language\": \"EN\",\n \"main_location_id\": \"12345\",\n \"name\": \"Dunkin Donuts\",\n \"owner_id\": \"12345\",\n \"service_charges\": [\n {\n \"active\": true,\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Charge for delivery\",\n \"percentage\": 12.5,\n \"type\": \"{{oneOf (array 'auto_gratuity' 'custom')}}\"\n }\n ],\n \"status\": \"{{oneOf (array 'active' 'inactive' 'other')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"Merchants\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Merchants", "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": "10c0140f-501b-4323-8d2e-0547074b18a9", "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": "c2776385-2bc3-49f5-8cbf-251008131946", "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": "08117a5e-c987-4f69-b491-6d141640d43a", "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": "30ec1248-2b15-45c2-b2ac-fab11589be05", "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": "549ecea2-c573-4c70-b32a-c7b5ded491c7", "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": "313297cf-3f0e-4fb3-a96e-b1f2fe683bd4", "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": "1e71cbdd-e8aa-44d0-a14c-af36d57ece4c", "documentation": "Update Merchant", "method": "patch", "endpoint": "pos/merchants/:id", "responses": [ { "uuid": "d5d0e32b-5d4b-45f2-acef-e8c57c8385d7", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Merchants\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Merchants", "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": "203fc184-f8ac-4473-aad2-29a5dbdec08d", "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": "42d56507-8588-42c6-8db9-d8bc6a3720a9", "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": "24508606-d2be-4304-a053-07eaafa5825c", "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": "ce5557a5-5fcb-4338-ac74-f3a085c6471f", "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": "bbe51e0f-2d23-4ddd-9cfa-1338c03dee03", "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": "4b3ef158-a5cc-4431-bfca-d0f5d28f6ded", "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": "fe81347a-2b77-4017-910e-e5390cb6caca", "documentation": "List Modifier Groups", "method": "get", "endpoint": "pos/modifier-groups", "responses": [ { "uuid": "4daf5b8d-ce5e-4584-a83e-58a046c74e0d", "body": "{\n \"data\": [\n {\n \"alternate_name\": \"Modifier New\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"deleted\": true,\n \"id\": \"12345\",\n \"maximum_allowed\": 5,\n \"minimum_required\": 1,\n \"modifiers\": [\n {\n \"alternate_name\": \"Modifier New\",\n \"available\": true,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Modifier\",\n \"price_amount\": 10\n }\n ],\n \"name\": \"Modifier\",\n \"present_at_all_locations\": {{faker 'datatype.boolean'}},\n \"row_version\": \"1-12345\",\n \"selection_type\": \"{{oneOf (array 'single' 'multiple')}}\",\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\": \"ModifierGroups\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "ModifierGroups", "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": "83ccb3f3-7cf0-4066-8bcd-26ea06688d47", "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": "6bb9dd0f-3083-4d5f-9d86-2839199ada51", "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": "93ab5830-90f8-4f5b-8c16-ca9bb63cfb09", "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": "3735a481-435d-427f-8f92-be65a6e084bf", "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": "5783d00c-6cfb-4467-992a-cd043ffdc988", "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": "410a2792-2d29-4a61-aab5-179cd87a7245", "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": "d7f9d5bf-1efb-4221-bf8f-36c9988819ea", "documentation": "Create Modifier Group", "method": "post", "endpoint": "pos/modifier-groups", "responses": [ { "uuid": "d6474542-d131-4387-9782-6e2d8b5dc0d5", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"ModifierGroups\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "ModifierGroups", "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": "2d07aa1a-a2a1-4f0f-8afc-b16d989bda78", "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": "a01593b6-f33c-4589-b4ca-7bc10244e4e0", "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": "44c810f1-952d-4e65-866e-5bb1daef160c", "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": "00451271-a808-4ee3-8825-6ca13ac41409", "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": "4e49fcf6-3b0d-4d7b-b748-c04ae8347a6b", "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": "05b284ce-16a0-499f-9780-2af368500102", "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": "b1db484d-7084-4e7e-a6e9-8f671f82401c", "documentation": "Delete Modifier Group", "method": "delete", "endpoint": "pos/modifier-groups/:id", "responses": [ { "uuid": "45bc9829-fb5c-4851-98e7-39e5d1ad6d63", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"ModifierGroups\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "ModifierGroups", "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": "e4b90cd8-ce9d-4aba-969c-42b80d724c98", "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": "5895c9af-d6e0-48b5-9691-ba6ebec06580", "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": "8aa6a146-338d-4948-807e-f4e42ed18483", "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": "7c631bc2-9207-4b89-b082-6f2402c2c3c2", "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": "c85c9bfb-874e-4977-baf6-40f2f893d7cd", "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": "24a4e134-b7f6-4353-a46f-b2fbe032fa11", "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": "9aeb0616-5917-45c8-be4d-acfc5a4b9d7d", "documentation": "Get Modifier Group", "method": "get", "endpoint": "pos/modifier-groups/:id", "responses": [ { "uuid": "a74c9fea-aff6-4d14-ae3d-7baf81750957", "body": "{\n \"data\": {\n \"alternate_name\": \"Modifier New\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"deleted\": true,\n \"id\": \"12345\",\n \"maximum_allowed\": 5,\n \"minimum_required\": 1,\n \"modifiers\": [\n {\n \"alternate_name\": \"Modifier New\",\n \"available\": true,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Modifier\",\n \"price_amount\": 10\n }\n ],\n \"name\": \"Modifier\",\n \"present_at_all_locations\": {{faker 'datatype.boolean'}},\n \"row_version\": \"1-12345\",\n \"selection_type\": \"{{oneOf (array 'single' 'multiple')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"ModifierGroups\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "ModifierGroups", "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": "09a1bb45-4f12-41c0-b46a-f86089fe3ff9", "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": "341ef4e6-e1cb-476b-ac1f-0e4978bc187d", "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": "ef17333d-f9a2-4d94-8267-6875e849fe13", "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": "865c4e6c-b677-4ecf-8f02-de20f27c1a93", "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": "a2fb4fba-e690-49d6-b32f-90366880c487", "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": "f72802c5-7d6e-484d-8cd9-0a6477c789e6", "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": "f7973398-1d5e-4cff-983a-e9633de6e084", "documentation": "Update Modifier Group", "method": "patch", "endpoint": "pos/modifier-groups/:id", "responses": [ { "uuid": "d7f480ed-85ff-4ed2-acae-0447e4dde436", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"ModifierGroups\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "ModifierGroups", "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": "e3d77dab-2d12-409a-b63f-466a902e92ad", "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": "fe6f677e-efb6-4a8c-8c32-3dbca0727965", "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": "d134a9b1-36cd-4a85-b110-6f0144c49b76", "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": "19825229-5863-4b33-aa41-bd1d01c81bb4", "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": "5fd6e1a2-b924-4161-865f-ea3ae1bf9216", "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": "3314bb8e-f2be-490b-aabd-bcac86d424b0", "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": "67248679-e2c1-4c21-8b3c-deea3ca53657", "documentation": "List Modifiers", "method": "get", "endpoint": "pos/modifiers", "responses": [ { "uuid": "94e9a422-0b2c-40e7-adf7-ba1b75dde3b4", "body": "{\n \"data\": [\n {\n \"alternate_name\": \"Modifier New\",\n \"available\": true,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"idempotency_key\": \"random_string\",\n \"modifier_group_id\": \"123\",\n \"name\": \"Modifier\",\n \"price_amount\": 10,\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\": \"Modifiers\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Modifiers", "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": "03df9be1-99e3-4d50-b991-439aa0cad785", "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": "d9a8d71c-a34a-4981-aa07-e5038cd58608", "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": "4ca19d0f-2b61-4977-b99d-e079a329b538", "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": "0372acc9-d50f-46b7-8a8b-90f79fc74b59", "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": "5a7cb2af-ca22-4b28-90c7-87831b7b3c5b", "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": "201c6e16-dcc4-4352-b7ed-e916342db8a9", "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": "9179a1bf-8709-4e9e-83d6-307230cf8447", "documentation": "Create Modifier", "method": "post", "endpoint": "pos/modifiers", "responses": [ { "uuid": "5d3d3eac-cfee-4b16-9221-d93723d3304c", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Modifiers\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Modifiers", "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": "93039f4f-4539-4749-9ea2-7e36bd33df6e", "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": "ca6b883c-ecc5-4873-ac2f-14af101d8f33", "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": "011f8d8f-994a-4b19-971a-5656167c4ea8", "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": "664aa385-5b6e-42c5-a4e1-6356ac85db91", "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": "c7795035-31e2-406b-a61f-207e8c171786", "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": "9fde13f5-690b-430b-ba34-a0b1c2fe45e7", "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": "52ba181e-2839-44f5-ad84-67d13a60e705", "documentation": "Delete Modifier", "method": "delete", "endpoint": "pos/modifiers/:id", "responses": [ { "uuid": "1f69cf4d-dd29-4acb-8f91-0ef43330aae4", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Modifiers\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Modifiers", "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": "8f858f0d-4c3c-4678-a873-1f562967a98c", "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": "e6756914-1d34-49ea-8ca2-60ddd3e86aa5", "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": "fd91f46a-467b-47a6-9a4d-23ea1b0cfb41", "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": "01f5c77a-5ebe-4c49-b587-a9f10268b634", "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": "e149655a-d672-4e1b-b04f-50ef6692b074", "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": "1b6b77e9-3c9a-4cb1-adf5-3a44da9d079c", "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": "7795054f-18ab-417a-aaa4-01a7dec35541", "documentation": "Get Modifier", "method": "get", "endpoint": "pos/modifiers/:id", "responses": [ { "uuid": "61579be7-5a1d-4bb3-9d29-04fafc30241e", "body": "{\n \"data\": {\n \"alternate_name\": \"Modifier New\",\n \"available\": true,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"idempotency_key\": \"random_string\",\n \"modifier_group_id\": \"123\",\n \"name\": \"Modifier\",\n \"price_amount\": 10,\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"Modifiers\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Modifiers", "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": "270d8114-b0b3-4069-a59e-25478d872cca", "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": "3b405e8f-3bf0-4dd2-9068-c89ace80ff88", "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": "81380e66-3023-47e0-a297-b4ef1f99111a", "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": "0e935981-b179-4746-94c8-67ff929a4bb3", "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": "a9eab45e-371b-4bae-8117-46648fe4b429", "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": "f41c4338-5276-403e-9c1d-80dca94039c0", "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": "98364ea7-05d4-494a-962d-f12be8c3d273", "documentation": "Update Modifier", "method": "patch", "endpoint": "pos/modifiers/:id", "responses": [ { "uuid": "b927be77-b628-42ac-b987-862a007bb5a7", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Modifiers\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Modifiers", "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": "a931c75a-c3ac-4dad-b171-674aa317378a", "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": "06d9a866-cc0f-47ea-be36-f3f3e570b060", "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": "552a3b5c-7ce2-4b0b-a0c0-93ddd77da319", "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": "a66569d2-dadb-4e7f-b526-8642f9724e41", "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": "e23f469d-0b78-400d-9fc2-f8101cb7fedc", "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": "9a94abf2-2158-44b2-a3b1-9232ad3ba127", "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": "d36d23fe-759d-4527-abfe-43bd1fd0dcd8", "documentation": "List Order Types", "method": "get", "endpoint": "pos/order-types", "responses": [ { "uuid": "c03f9594-a2f7-4a94-94e1-5e9b185231b5", "body": "{\n \"data\": [\n {\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"default\": true,\n \"id\": \"12345\",\n \"name\": \"Default order type\",\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\": \"OrderTypes\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "OrderTypes", "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": "968b8d1f-db8d-44b7-bc8c-331d4f7591fa", "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": "71ff8d90-6802-42cf-9cb4-dd6ddd6c063c", "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": "cf04b415-c824-4006-b789-fbe31b5624c5", "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": "98aff8fd-abcb-45af-933a-5260e55458ae", "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": "ba3a85e9-3a25-4056-922a-5632355d95ab", "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": "6108ac58-06db-4c8f-a073-b760273bd2d4", "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": "d1e1a303-bd16-4559-9638-b264a965e205", "documentation": "Create Order Type", "method": "post", "endpoint": "pos/order-types", "responses": [ { "uuid": "a69ba28f-5997-48ec-bdbc-5df0e3a35618", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"OrderTypes\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "OrderTypes", "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": "afd3b7d8-1355-4204-9aa3-091beb40216f", "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": "ba8b30d4-3d87-4717-b9a9-3669912c8710", "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": "b3581570-5ec9-4387-97fa-f7bbecd6151c", "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": "6e306fad-e461-4bfd-802a-32fa66a275ae", "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": "2ccc74a8-3272-4447-ba25-7e3bbfe92b0e", "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": "11c277e4-403a-44df-8ca5-0693f55efd75", "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": "cde000c6-edf4-4019-895b-940d5b495662", "documentation": "Delete Order Type", "method": "delete", "endpoint": "pos/order-types/:id", "responses": [ { "uuid": "bfe3d2a9-2190-485d-a581-acd555ca12d9", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"OrderTypes\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "OrderTypes", "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": "a8d9b545-a6ec-43a6-938d-a09d6157c955", "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": "01eb9bdb-e214-496c-8b74-ad8759461869", "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": "7a9dd17e-928c-480e-a916-d0e9f2f0f954", "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": "9940da68-16bd-4792-841a-2fcab9b0b1fd", "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": "41bc7415-b578-4ab8-a781-4fd7cb442cc7", "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": "e37b9eb4-e3f0-42c0-8fa9-1c5a016e31e2", "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": "9417013e-25aa-4794-9969-e5379ff6c6a0", "documentation": "Get Order Type", "method": "get", "endpoint": "pos/order-types/:id", "responses": [ { "uuid": "d40386ff-6cd0-4e8d-8df3-6731779b3363", "body": "{\n \"data\": {\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"default\": true,\n \"id\": \"12345\",\n \"name\": \"Default order type\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"OrderTypes\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "OrderTypes", "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": "6af70fc5-74b6-419b-ab3d-35a389f78ed1", "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": "50cdc6f3-e4da-4b4e-bde3-13e41b090c29", "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": "0116f344-20e1-47b6-b846-d0cf9f3712c3", "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": "b5634dc1-fc0d-4fc3-982e-4f08924817eb", "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": "bdbbc193-a53a-48c8-a879-732e4f780b42", "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": "ebf2b3e7-60b8-4e01-80a2-38380bba060b", "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": "d9e5d1f7-4f2d-491f-8e5d-b1cdf9205de9", "documentation": "Update Order Type", "method": "patch", "endpoint": "pos/order-types/:id", "responses": [ { "uuid": "989028bd-77ec-418e-8e64-ca4f43e25192", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"OrderTypes\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "OrderTypes", "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": "76e569b4-4226-4874-b25a-deb25b77f080", "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": "a1c5f8f8-069e-4cad-8774-17bf428b5951", "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": "f8e70728-d45d-4561-aa3d-1b3fb9cf595c", "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": "c03e7169-0db0-4ff7-8f1d-38d3e9d65d12", "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": "d0f96eb3-a4a6-4011-8a37-c2cf4a7a985d", "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": "dd0081f5-82ff-42da-8f29-372961fc71a3", "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": "dd740777-acc4-4efd-a4e8-cead1eade3c8", "documentation": "List Orders", "method": "get", "endpoint": "pos/orders", "responses": [ { "uuid": "635b9687-f88b-4e53-9f4b-cc3ff8fe6f7a", "body": "{\n \"data\": [\n {\n \"closed_date\": \"2022-08-13\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"customer_id\": \"12345\",\n \"customers\": [\n {\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 \"last_name\": \"Musk\",\n \"middle_name\": \"D.\",\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 }\n ],\n \"discounts\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"10% off\",\n \"product_id\": \"12345\",\n \"scope\": \"{{oneOf (array 'order' 'line_item')}}\",\n \"type\": \"{{oneOf (array 'percentage' 'flat_fee')}}\"\n }\n ],\n \"employee_id\": \"12345\",\n \"fulfillments\": [\n {\n \"id\": \"12345\",\n \"pickup_details\": {\n \"accepted_at\": \"2020-09-30T07:43:32.000Z\",\n \"auto_complete_duration\": \"P1W3D\",\n \"cancel_reason\": \"Not hungry\",\n \"canceled_at\": \"2016-09-04T23:59:33.123Z\",\n \"curbside_pickup_details\": {\n \"buyer_arrived_at\": \"2016-09-04T23:59:33.123Z\",\n \"curbside_details\": \"\"\n },\n \"expired_at\": \"2016-09-04T23:59:33.123Z\",\n \"expires_at\": \"2016-09-04T23:59:33.123Z\",\n \"is_curbside_pickup\": {{faker 'datatype.boolean'}},\n \"note\": \"Pickup in the back.\",\n \"picked_up_at\": \"2016-09-04T23:59:33.123Z\",\n \"pickup_at\": \"2016-09-04T23:59:33.123Z\",\n \"pickup_window_duration\": \"P1W3D\",\n \"placed_at\": \"2016-09-04T23:59:33.123Z\",\n \"prep_time_duration\": \"P1W3D\",\n \"ready_at\": \"2016-09-04T23:59:33.123Z\",\n \"recipient\": {\n \"address\": {\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 \"customer_id\": \"12345\",\n \"display_name\": \"Elon Musk\",\n \"email\": {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n },\n \"phone_number\": {\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 \"rejected_at\": \"2016-09-04T23:59:33.123Z\",\n \"schedule_type\": \"{{oneOf (array 'scheduled')}}\"\n },\n \"shipment_details\": {},\n \"status\": \"{{oneOf (array 'proposed' 'reserved' 'prepared' 'completed' 'cancelled' 'failed' 'other')}}\",\n \"type\": \"{{oneOf (array 'pickup' 'shipment')}}\"\n }\n ],\n \"id\": \"12345\",\n \"idempotency_key\": \"random_string\",\n \"line_items\": [\n {\n \"applied_discounts\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"discount_id\": \"12345\",\n \"id\": \"12345\"\n }\n ],\n \"applied_taxes\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"tax_id\": \"sales-tax\"\n }\n ],\n \"id\": \"12345\",\n \"item\": {\n \"id\": \"12345\"\n },\n \"modifiers\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"name\": \"New York Strip Steak - no cheese\"\n }\n ],\n \"name\": \"New York Strip Steak\",\n \"quantity\": 1,\n \"total_amount\": 27500,\n \"total_discount\": 3000,\n \"total_tax\": 2000,\n \"unit_price\": 27500.5\n }\n ],\n \"location_id\": \"12345\",\n \"merchant_id\": \"12345\",\n \"note\": \"\",\n \"order_date\": \"2022-08-12\",\n \"order_number\": \"1F\",\n \"order_type_id\": \"12345\",\n \"payment_status\": \"{{oneOf (array 'open' 'paid' 'refunded' 'credited' 'partially_paid' 'partially_refunded' 'unknown')}}\",\n \"payments\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\"\n }\n ],\n \"reference_id\": \"my-order-001\",\n \"refunded\": {{faker 'datatype.boolean'}},\n \"refunds\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"location_id\": \"12345\",\n \"reason\": \"The reason for the refund being issued.\",\n \"status\": \"{{oneOf (array 'pending' 'approved' 'rejected' 'failed')}}\",\n \"tender_id\": \"12345\",\n \"transaction_id\": \"12345\"\n }\n ],\n \"seat\": \"23F\",\n \"service_charges\": [\n {\n \"active\": true,\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Charge for delivery\",\n \"percentage\": 12.5,\n \"type\": \"{{oneOf (array 'auto_gratuity' 'custom')}}\"\n }\n ],\n \"source\": \"{{oneOf (array 'in-store' 'online' 'opt' 'api' 'kiosk' 'caller-id' 'google' 'invoice')}}\",\n \"status\": \"{{oneOf (array 'open' 'draft' 'delivered' 'delayed' 'voided' 'completed' 'hidden')}}\",\n \"table\": \"1F\",\n \"taxes\": [\n {\n \"amount\": 27500,\n \"auto_applied\": true,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"state-sales-tax\",\n \"name\": \"State Sales Tax\",\n \"percentage\": 15,\n \"scope\": \"{{oneOf (array 'order' 'line_item')}}\",\n \"type\": \"{{oneOf (array 'unknown' 'additive' 'inclusive')}}\"\n }\n ],\n \"tenders\": [\n {\n \"amount\": 27500,\n \"buyer_tendered_cash_amount\": 27500,\n \"card\": {\n \"billing_address\": {\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 \"bin\": \"41111\",\n \"card_brand\": \"{{oneOf (array 'visa' 'mastercard' 'amex' 'discover' 'discover-diners' 'jcb' 'china-unionpay' 'square-gift-card' 'square-capital-card' 'interac' 'eftpos' 'felica' 'ebt' 'other')}}\",\n \"card_type\": \"{{oneOf (array 'credit' 'debit' 'prepaid' 'other')}}\",\n \"cardholder_name\": \"John Doe\",\n \"customer_id\": \"12345\",\n \"enabled\": true,\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \" Intended as a POS-assigned identifier, based on the card number, to identify the card across multiple locations within a single application.\",\n \"id\": \"12345\",\n \"last_4\": \"The last 4 digits of the card number.\",\n \"merchant_id\": \"12345\",\n \"prepaid_type\": \"{{oneOf (array 'non-prepaid' 'prepaid' 'unknown')}}\",\n \"reference_id\": \"card-001\",\n \"version\": \"230320320320\"\n },\n \"card_entry_method\": \"{{oneOf (array 'evm' 'swiped' 'keyed' 'on-file' 'contactless')}}\",\n \"card_status\": \"{{oneOf (array 'authorized' 'captured' 'failed' 'voided')}}\",\n \"change_back_cash_amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"location_id\": \"12345\",\n \"name\": \"10% off\",\n \"note\": \"An optional note associated with the tender at the time of payment.\",\n \"payment_id\": \"12345\",\n \"percentage\": 10,\n \"total_amount\": 27.5,\n \"total_discount\": 3,\n \"total_processing_fee\": {{faker 'number.int' max=99999}},\n \"total_refund\": {{faker 'number.int' max=99999}},\n \"total_service_charge\": {{faker 'number.int' max=99999}},\n \"total_tax\": 2.75,\n \"total_tip\": 7,\n \"transaction_id\": \"12345\",\n \"type\": \"{{oneOf (array 'cash' 'card' 'other')}}\"\n }\n ],\n \"title\": \"\",\n \"total_amount\": 275,\n \"total_discount\": 300,\n \"total_refund\": {{faker 'number.int' max=99999}},\n \"total_service_charge\": {{faker 'number.int' max=99999}},\n \"total_tax\": 275,\n \"total_tip\": 700,\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"version\": \"230320320320\",\n \"voided\": {{faker 'datatype.boolean'}},\n \"voided_at\": \"2020-09-30T07:43:32.000Z\"\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\": \"Orders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Orders", "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": "6c2c2f5d-39ff-455b-b67f-2cbbc2b2eafb", "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": "f226cb57-fb12-41fc-91a8-268e162d2ad1", "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": "dcad122e-4ea4-4034-b46e-8b5187a02cd0", "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": "5d4199f3-6ddc-46a6-976b-640c2af5a302", "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": "a50dccee-f30a-4353-bde7-89cd06f1e3c9", "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": "ce846d0b-f25d-4da1-b03d-a7590d519d1e", "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": "f79d8b57-d3a6-46ce-ada5-7ba65b7a939c", "documentation": "Create Order", "method": "post", "endpoint": "pos/orders", "responses": [ { "uuid": "359c94d9-f120-4052-ae4a-cad79999f362", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Orders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Orders", "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": "c804dac9-56f3-4009-ac5c-0600022775a8", "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": "d5f50aca-91da-41d5-b512-e43368fa6057", "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": "be9befd1-2cf3-49d4-ad49-8f13566ba66e", "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": "2f65ae5c-cfea-4edc-b5ce-498aca5e5111", "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": "86da0d83-d807-425f-b202-2dbdb9605399", "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": "619e0d79-1941-41f6-802e-34e538fab6fb", "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": "85adcb65-2077-4922-bb43-b1c080722a69", "documentation": "Delete Order", "method": "delete", "endpoint": "pos/orders/:id", "responses": [ { "uuid": "286866ad-0bbf-47fc-98fe-e6ceae7b0b23", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Orders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Orders", "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": "7fd79b4b-8108-48f4-b94b-35f7d1ba754b", "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": "3bab163a-1fe8-4410-a1ca-83f950ec3b27", "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": "01136f15-8648-46b2-9a67-255be110bf18", "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": "1a9acefe-d064-45e8-8b1f-c83605c689d7", "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": "17c85a92-c1e4-48b8-a54e-60a4f4cf637c", "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": "4fa04632-b294-4186-a3d8-f44bb9d8a455", "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": "dc0a2938-0780-474f-a964-00de88ab4c45", "documentation": "Get Order", "method": "get", "endpoint": "pos/orders/:id", "responses": [ { "uuid": "ac4cdabc-ab0f-4b93-85bd-fdf07de3353e", "body": "{\n \"data\": {\n \"closed_date\": \"2022-08-13\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"customer_id\": \"12345\",\n \"customers\": [\n {\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 \"last_name\": \"Musk\",\n \"middle_name\": \"D.\",\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 }\n ],\n \"discounts\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"10% off\",\n \"product_id\": \"12345\",\n \"scope\": \"{{oneOf (array 'order' 'line_item')}}\",\n \"type\": \"{{oneOf (array 'percentage' 'flat_fee')}}\"\n }\n ],\n \"employee_id\": \"12345\",\n \"fulfillments\": [\n {\n \"id\": \"12345\",\n \"pickup_details\": {\n \"accepted_at\": \"2020-09-30T07:43:32.000Z\",\n \"auto_complete_duration\": \"P1W3D\",\n \"cancel_reason\": \"Not hungry\",\n \"canceled_at\": \"2016-09-04T23:59:33.123Z\",\n \"curbside_pickup_details\": {\n \"buyer_arrived_at\": \"2016-09-04T23:59:33.123Z\",\n \"curbside_details\": \"\"\n },\n \"expired_at\": \"2016-09-04T23:59:33.123Z\",\n \"expires_at\": \"2016-09-04T23:59:33.123Z\",\n \"is_curbside_pickup\": {{faker 'datatype.boolean'}},\n \"note\": \"Pickup in the back.\",\n \"picked_up_at\": \"2016-09-04T23:59:33.123Z\",\n \"pickup_at\": \"2016-09-04T23:59:33.123Z\",\n \"pickup_window_duration\": \"P1W3D\",\n \"placed_at\": \"2016-09-04T23:59:33.123Z\",\n \"prep_time_duration\": \"P1W3D\",\n \"ready_at\": \"2016-09-04T23:59:33.123Z\",\n \"recipient\": {\n \"address\": {\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 \"customer_id\": \"12345\",\n \"display_name\": \"Elon Musk\",\n \"email\": {\n \"email\": \"elon@musk.com\",\n \"id\": \"123\",\n \"type\": \"{{oneOf (array 'primary' 'secondary' 'work' 'personal' 'billing' 'other')}}\"\n },\n \"phone_number\": {\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 \"rejected_at\": \"2016-09-04T23:59:33.123Z\",\n \"schedule_type\": \"{{oneOf (array 'scheduled')}}\"\n },\n \"shipment_details\": {},\n \"status\": \"{{oneOf (array 'proposed' 'reserved' 'prepared' 'completed' 'cancelled' 'failed' 'other')}}\",\n \"type\": \"{{oneOf (array 'pickup' 'shipment')}}\"\n }\n ],\n \"id\": \"12345\",\n \"idempotency_key\": \"random_string\",\n \"line_items\": [\n {\n \"applied_discounts\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"discount_id\": \"12345\",\n \"id\": \"12345\"\n }\n ],\n \"applied_taxes\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"tax_id\": \"sales-tax\"\n }\n ],\n \"id\": \"12345\",\n \"item\": {\n \"id\": \"12345\"\n },\n \"modifiers\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"name\": \"New York Strip Steak - no cheese\"\n }\n ],\n \"name\": \"New York Strip Steak\",\n \"quantity\": 1,\n \"total_amount\": 27500,\n \"total_discount\": 3000,\n \"total_tax\": 2000,\n \"unit_price\": 27500.5\n }\n ],\n \"location_id\": \"12345\",\n \"merchant_id\": \"12345\",\n \"note\": \"\",\n \"order_date\": \"2022-08-12\",\n \"order_number\": \"1F\",\n \"order_type_id\": \"12345\",\n \"payment_status\": \"{{oneOf (array 'open' 'paid' 'refunded' 'credited' 'partially_paid' 'partially_refunded' 'unknown')}}\",\n \"payments\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\"\n }\n ],\n \"reference_id\": \"my-order-001\",\n \"refunded\": {{faker 'datatype.boolean'}},\n \"refunds\": [\n {\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"location_id\": \"12345\",\n \"reason\": \"The reason for the refund being issued.\",\n \"status\": \"{{oneOf (array 'pending' 'approved' 'rejected' 'failed')}}\",\n \"tender_id\": \"12345\",\n \"transaction_id\": \"12345\"\n }\n ],\n \"seat\": \"23F\",\n \"service_charges\": [\n {\n \"active\": true,\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Charge for delivery\",\n \"percentage\": 12.5,\n \"type\": \"{{oneOf (array 'auto_gratuity' 'custom')}}\"\n }\n ],\n \"source\": \"{{oneOf (array 'in-store' 'online' 'opt' 'api' 'kiosk' 'caller-id' 'google' 'invoice')}}\",\n \"status\": \"{{oneOf (array 'open' 'draft' 'delivered' 'delayed' 'voided' 'completed' 'hidden')}}\",\n \"table\": \"1F\",\n \"taxes\": [\n {\n \"amount\": 27500,\n \"auto_applied\": true,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"state-sales-tax\",\n \"name\": \"State Sales Tax\",\n \"percentage\": 15,\n \"scope\": \"{{oneOf (array 'order' 'line_item')}}\",\n \"type\": \"{{oneOf (array 'unknown' 'additive' 'inclusive')}}\"\n }\n ],\n \"tenders\": [\n {\n \"amount\": 27500,\n \"buyer_tendered_cash_amount\": 27500,\n \"card\": {\n \"billing_address\": {\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 \"bin\": \"41111\",\n \"card_brand\": \"{{oneOf (array 'visa' 'mastercard' 'amex' 'discover' 'discover-diners' 'jcb' 'china-unionpay' 'square-gift-card' 'square-capital-card' 'interac' 'eftpos' 'felica' 'ebt' 'other')}}\",\n \"card_type\": \"{{oneOf (array 'credit' 'debit' 'prepaid' 'other')}}\",\n \"cardholder_name\": \"John Doe\",\n \"customer_id\": \"12345\",\n \"enabled\": true,\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \" Intended as a POS-assigned identifier, based on the card number, to identify the card across multiple locations within a single application.\",\n \"id\": \"12345\",\n \"last_4\": \"The last 4 digits of the card number.\",\n \"merchant_id\": \"12345\",\n \"prepaid_type\": \"{{oneOf (array 'non-prepaid' 'prepaid' 'unknown')}}\",\n \"reference_id\": \"card-001\",\n \"version\": \"230320320320\"\n },\n \"card_entry_method\": \"{{oneOf (array 'evm' 'swiped' 'keyed' 'on-file' 'contactless')}}\",\n \"card_status\": \"{{oneOf (array 'authorized' 'captured' 'failed' 'voided')}}\",\n \"change_back_cash_amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"location_id\": \"12345\",\n \"name\": \"10% off\",\n \"note\": \"An optional note associated with the tender at the time of payment.\",\n \"payment_id\": \"12345\",\n \"percentage\": 10,\n \"total_amount\": 27.5,\n \"total_discount\": 3,\n \"total_processing_fee\": {{faker 'number.int' max=99999}},\n \"total_refund\": {{faker 'number.int' max=99999}},\n \"total_service_charge\": {{faker 'number.int' max=99999}},\n \"total_tax\": 2.75,\n \"total_tip\": 7,\n \"transaction_id\": \"12345\",\n \"type\": \"{{oneOf (array 'cash' 'card' 'other')}}\"\n }\n ],\n \"title\": \"\",\n \"total_amount\": 275,\n \"total_discount\": 300,\n \"total_refund\": {{faker 'number.int' max=99999}},\n \"total_service_charge\": {{faker 'number.int' max=99999}},\n \"total_tax\": 275,\n \"total_tip\": 700,\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"version\": \"230320320320\",\n \"voided\": {{faker 'datatype.boolean'}},\n \"voided_at\": \"2020-09-30T07:43:32.000Z\"\n },\n \"operation\": \"one\",\n \"resource\": \"Orders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Orders", "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": "d41da312-16f3-4eed-b0a1-a468c1c17648", "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": "49277c3e-b82f-4898-a54f-dde06ea439ed", "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": "b2530be5-a339-4b90-8797-c9b0793cef7f", "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": "580fc28d-d601-4639-a656-2ecb9189b487", "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": "707dbc94-75f9-4f40-8f27-f656a8c12a78", "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": "ddc22ed1-8768-406a-9356-bb0e282f8e6a", "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": "b91dddd6-41df-4cb0-8dea-3283315d219e", "documentation": "Update Order", "method": "patch", "endpoint": "pos/orders/:id", "responses": [ { "uuid": "5f537137-eac0-4a24-96e5-faff13477eb9", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Orders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Orders", "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": "91d6b33b-277c-43bc-b110-ac46a4a00c4e", "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": "984ad21b-6ec5-4544-ae01-98ff9f311b8c", "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": "ff794f01-598b-4681-bafb-a56944c4da7c", "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": "63338c28-1ed6-4cc3-93af-88534e6ac3bf", "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": "abe761e3-db2a-4a14-853b-b865f376bdaf", "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": "1115ac5b-b1fb-400d-a369-79c58db8bd89", "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": "81995d96-590a-485d-a3ed-d20eaeb395db", "documentation": "Pay Order", "method": "post", "endpoint": "pos/orders/:id/pay", "responses": [ { "uuid": "88fdceff-32ed-41fa-adbc-956dc369f17a", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Orders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Orders", "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": "3d5ef130-0793-4b9d-8a4d-d0ffe3df7196", "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": "577c8620-0f0d-4d3a-a19d-22d005e93c42", "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": "58993314-51b3-426c-ae25-7b9f25b408a9", "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": "a88ad924-5690-4d41-b950-cf9838bef301", "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": "3dfebab0-479b-46e6-9fd0-db307e19fbd4", "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": "05759a5f-d6ae-4be0-8e7f-a5b06e70fbce", "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": "5d1bdac9-6345-4ab2-a2b6-761628d01137", "documentation": "List Payments", "method": "get", "endpoint": "pos/payments", "responses": [ { "uuid": "0c95c645-f05a-4679-a5f9-c536b9e429e2", "body": "{\n \"data\": [\n {\n \"amount\": 27.5,\n \"app_fee\": 3,\n \"approved\": 37.5,\n \"bank_account\": {\n \"account_ownership_type\": \"\",\n \"ach_details\": {\n \"account_number_suffix\": \"\",\n \"account_type\": \"\",\n \"routing_number\": \"\"\n },\n \"bank_name\": \"\",\n \"country\": \"US\",\n \"fingerprint\": \"\",\n \"statement_description\": \"\",\n \"transfer_type\": \"\"\n },\n \"card_details\": {\n \"card\": {\n \"billing_address\": {\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 \"bin\": \"41111\",\n \"card_brand\": \"{{oneOf (array 'visa' 'mastercard' 'amex' 'discover' 'discover-diners' 'jcb' 'china-unionpay' 'square-gift-card' 'square-capital-card' 'interac' 'eftpos' 'felica' 'ebt' 'other')}}\",\n \"card_type\": \"{{oneOf (array 'credit' 'debit' 'prepaid' 'other')}}\",\n \"cardholder_name\": \"John Doe\",\n \"customer_id\": \"12345\",\n \"enabled\": true,\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \" Intended as a POS-assigned identifier, based on the card number, to identify the card across multiple locations within a single application.\",\n \"id\": \"12345\",\n \"last_4\": \"The last 4 digits of the card number.\",\n \"merchant_id\": \"12345\",\n \"prepaid_type\": \"{{oneOf (array 'non-prepaid' 'prepaid' 'unknown')}}\",\n \"reference_id\": \"card-001\",\n \"version\": \"230320320320\"\n }\n },\n \"cash\": {\n \"amount\": \"\",\n \"charge_back_amount\": \"\"\n },\n \"change_back_cash_amount\": 20,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"customer_id\": \"12345\",\n \"device_id\": \"12345\",\n \"employee_id\": \"12345\",\n \"external_details\": {\n \"source\": \"\",\n \"source_fee_amount\": 2.5,\n \"source_id\": \"\",\n \"type\": \"{{oneOf (array 'check' 'bank_transfer' 'other_gift_card' 'crypto' 'square_cash' 'social' 'external' 'emoney' 'card' 'stored_balance' 'food_voucher' 'other')}}\"\n },\n \"external_payment_id\": \"12345\",\n \"id\": \"12345\",\n \"idempotency_key\": \"random_string\",\n \"location_id\": \"12345\",\n \"merchant_id\": \"12345\",\n \"order_id\": \"12345\",\n \"processing_fees\": [\n {\n \"amount\": 1.05,\n \"effective_at\": \"2020-09-30T07:43:32.000Z\",\n \"processing_type\": \"initial\"\n }\n ],\n \"refunded\": 37.5,\n \"service_charges\": [\n {\n \"active\": true,\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Charge for delivery\",\n \"percentage\": 12.5,\n \"type\": \"{{oneOf (array 'auto_gratuity' 'custom')}}\"\n }\n ],\n \"source\": \"{{oneOf (array 'card' 'bank_account' 'wallet' 'bnpl' 'cash' 'external' 'other')}}\",\n \"source_id\": \"12345\",\n \"status\": \"{{oneOf (array 'approved' 'pending' 'completed' 'canceled' 'failed' 'other')}}\",\n \"tax\": 20,\n \"tender_id\": \"12345\",\n \"tip\": 7,\n \"total\": 37.5,\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"wallet\": {\n \"status\": \"{{oneOf (array 'authorized' 'captured' 'voided' 'failed' 'other')}}\"\n }\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\": \"PosPayments\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "PosPayments", "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": "075a7296-4c99-46d2-a9ec-a01e6ea39539", "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": "30e3eb72-5a1d-40ce-bcdb-895887bc6df2", "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": "c922a602-694a-418c-a674-a2d8151c418f", "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": "fcc61ee9-a562-4bcf-8d1e-d11bcf0dcc12", "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": "456059b1-e499-407a-9358-951d071b7d4a", "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": "17f1843a-ec1a-4ea6-a684-98c08fbd978b", "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": "87be35bb-e11a-4fe1-804a-4a5252925e68", "documentation": "Create Payment", "method": "post", "endpoint": "pos/payments", "responses": [ { "uuid": "da9f2745-dd2f-43f7-9dc5-a9e1d2a84976", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"PosPayments\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "PosPayments", "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": "cb423c47-dea2-4816-bcb4-3cd9cb3777d3", "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": "492eb717-7161-473f-86e0-7f2a277f1202", "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": "4fd5e6a4-ec12-4f0e-a2bb-0eeca60598b2", "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": "058b8a1b-15bd-4938-b7f9-1a40ca5c6fe4", "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": "5c626aeb-bdb6-452e-a6f1-177ac465dee5", "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": "c37d5264-9c9c-4d4d-a882-e4b2a20730d7", "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": "6ebe3264-e080-40bf-8755-fccecddb5219", "documentation": "Delete Payment", "method": "delete", "endpoint": "pos/payments/:id", "responses": [ { "uuid": "e6f178a4-e38c-43b6-928a-90746fd63e2b", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"PosPayments\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "PosPayments", "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": "e3ca397b-bfc3-4a95-829c-e3f0326a4027", "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": "d9045797-f93e-4173-b30f-9ef3c22f5883", "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": "7cc89c1d-23bc-4ebb-a855-8515cb20b03b", "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": "5f104a2a-5cb7-48f9-8f4e-733322af0399", "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": "9e38e942-6ff1-43a5-a06f-972436b3a22a", "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": "55249c73-a480-43c7-9d3f-3094be242d86", "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": "25756cf4-6e9a-4e23-9967-674eaaddc9cb", "documentation": "Get Payment", "method": "get", "endpoint": "pos/payments/:id", "responses": [ { "uuid": "50aac841-b0c6-4b6d-b46d-fbeabd7f2393", "body": "{\n \"data\": {\n \"amount\": 27.5,\n \"app_fee\": 3,\n \"approved\": 37.5,\n \"bank_account\": {\n \"account_ownership_type\": \"\",\n \"ach_details\": {\n \"account_number_suffix\": \"\",\n \"account_type\": \"\",\n \"routing_number\": \"\"\n },\n \"bank_name\": \"\",\n \"country\": \"US\",\n \"fingerprint\": \"\",\n \"statement_description\": \"\",\n \"transfer_type\": \"\"\n },\n \"card_details\": {\n \"card\": {\n \"billing_address\": {\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 \"bin\": \"41111\",\n \"card_brand\": \"{{oneOf (array 'visa' 'mastercard' 'amex' 'discover' 'discover-diners' 'jcb' 'china-unionpay' 'square-gift-card' 'square-capital-card' 'interac' 'eftpos' 'felica' 'ebt' 'other')}}\",\n \"card_type\": \"{{oneOf (array 'credit' 'debit' 'prepaid' 'other')}}\",\n \"cardholder_name\": \"John Doe\",\n \"customer_id\": \"12345\",\n \"enabled\": true,\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \" Intended as a POS-assigned identifier, based on the card number, to identify the card across multiple locations within a single application.\",\n \"id\": \"12345\",\n \"last_4\": \"The last 4 digits of the card number.\",\n \"merchant_id\": \"12345\",\n \"prepaid_type\": \"{{oneOf (array 'non-prepaid' 'prepaid' 'unknown')}}\",\n \"reference_id\": \"card-001\",\n \"version\": \"230320320320\"\n }\n },\n \"cash\": {\n \"amount\": \"\",\n \"charge_back_amount\": \"\"\n },\n \"change_back_cash_amount\": 20,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"customer_id\": \"12345\",\n \"device_id\": \"12345\",\n \"employee_id\": \"12345\",\n \"external_details\": {\n \"source\": \"\",\n \"source_fee_amount\": 2.5,\n \"source_id\": \"\",\n \"type\": \"{{oneOf (array 'check' 'bank_transfer' 'other_gift_card' 'crypto' 'square_cash' 'social' 'external' 'emoney' 'card' 'stored_balance' 'food_voucher' 'other')}}\"\n },\n \"external_payment_id\": \"12345\",\n \"id\": \"12345\",\n \"idempotency_key\": \"random_string\",\n \"location_id\": \"12345\",\n \"merchant_id\": \"12345\",\n \"order_id\": \"12345\",\n \"processing_fees\": [\n {\n \"amount\": 1.05,\n \"effective_at\": \"2020-09-30T07:43:32.000Z\",\n \"processing_type\": \"initial\"\n }\n ],\n \"refunded\": 37.5,\n \"service_charges\": [\n {\n \"active\": true,\n \"amount\": 27500,\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' 'BZD' 'CAD' 'CDF' 'CHE' 'CHF' 'CHW' 'CLF' 'CLP' 'CNY' 'COP' 'COU' 'CRC' 'CUC' 'CUP' 'CVE' 'CZK' 'DJF' 'DKK' 'DOP' 'DZD' 'EGP' 'ERN' 'ETB' 'EUR' 'FJD' 'FKP' 'GBP' 'GEL' 'GHS' 'GIP' 'GMD' 'GNF' 'GTQ' 'GYD' 'HKD' 'HNL' 'HRK' 'HTG' 'HUF' 'IDR' 'ILS' 'INR' 'IQD' 'IRR' 'ISK' 'JMD' 'JOD' 'JPY' 'KES' 'KGS' 'KHR' 'KMF' 'KPW' 'KRW' 'KWD' 'KYD' 'KZT' 'LAK' 'LBP' 'LKR' 'LRD' 'LSL' 'LTL' 'LVL' 'LYD' 'MAD' 'MDL' 'MGA' 'MKD' 'MMK' 'MNT' 'MOP' 'MRO' 'MUR' 'MVR' 'MWK' 'MXN' 'MXV' 'MYR' 'MZN' 'NAD' 'NGN' 'NIO' 'NOK' 'NPR' 'NZD' 'OMR' 'PAB' 'PEN' 'PGK' 'PHP' 'PKR' 'PLN' 'PYG' 'QAR' 'RON' 'RSD' 'RUB' 'RWF' 'SAR' 'SBD' 'SCR' 'SDG' 'SEK' 'SGD' 'SHP' '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 \"id\": \"12345\",\n \"name\": \"Charge for delivery\",\n \"percentage\": 12.5,\n \"type\": \"{{oneOf (array 'auto_gratuity' 'custom')}}\"\n }\n ],\n \"source\": \"{{oneOf (array 'card' 'bank_account' 'wallet' 'bnpl' 'cash' 'external' 'other')}}\",\n \"source_id\": \"12345\",\n \"status\": \"{{oneOf (array 'approved' 'pending' 'completed' 'canceled' 'failed' 'other')}}\",\n \"tax\": 20,\n \"tender_id\": \"12345\",\n \"tip\": 7,\n \"total\": 37.5,\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"wallet\": {\n \"status\": \"{{oneOf (array 'authorized' 'captured' 'voided' 'failed' 'other')}}\"\n }\n },\n \"operation\": \"one\",\n \"resource\": \"PosPayments\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "PosPayments", "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": "e5e1e5e1-c774-461b-8828-008e71b7720a", "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": "c9354dad-2c87-4b80-b602-9fc8e2691032", "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": "371cc2eb-fb35-4714-8c58-05909b4f6c58", "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": "1dae9530-40e4-4ca3-85a2-f47a40f5cd88", "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": "754dae82-3328-4cbd-a188-cc5cc3881c81", "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": "cab37e37-ee29-4fc6-baea-8be305e4b439", "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": "798d55e6-f6ea-41e9-991e-0dc54d91455b", "documentation": "Update Payment", "method": "patch", "endpoint": "pos/payments/:id", "responses": [ { "uuid": "caf91958-83a3-418d-a6b0-bfc43a4a6aa8", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"PosPayments\",\n \"service\": \"square\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "PosPayments", "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": "d2b72147-79a6-4947-a7c6-76ba29b30a96", "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": "e370c2ad-521e-4af9-a4e4-b7aff622b6c5", "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": "336787f6-6711-4341-b0bf-9c7e4bb87999", "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": "001071d5-1446-464e-af73-bae5f25fe76b", "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": "4a926a89-daf3-46c7-8559-4b2565320623", "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": "84e29024-12a9-46b6-abc1-711739a3e9fc", "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": "02906ada-8db3-463d-b3a4-f8cdec8f339f", "documentation": "List Tenders", "method": "get", "endpoint": "pos/tenders", "responses": [ { "uuid": "8997ce41-52f8-4cdc-b5a9-430f1f1e071d", "body": "{\n \"data\": [\n {\n \"active\": true,\n \"allows_tipping\": true,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"editable\": true,\n \"hidden\": true,\n \"id\": \"12345\",\n \"key\": \"com.clover.tender.cash\",\n \"label\": \"Cash\",\n \"opens_cash_drawer\": true,\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\": \"Tenders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Tenders", "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": "e064cbc1-06f0-4bd3-8845-c1eb52ce6619", "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": "e213c274-6294-449c-a4f0-85afbab26d90", "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": "5c7d8451-d9c3-4e9b-8a61-510fc5cffb66", "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": "10374343-52e1-419e-b3ce-cfe62bc3464e", "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": "9a18b415-0b6f-4123-90cc-777120d1c185", "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": "bd627740-f86e-48e3-9b4c-c3b8f0776398", "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": "1aef3b43-544a-45a9-ae23-7180c56a2b85", "documentation": "Create Tender", "method": "post", "endpoint": "pos/tenders", "responses": [ { "uuid": "e0b99366-244b-4406-a527-2484e48175bc", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Tenders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Tenders", "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": "a8ba358b-06f6-416b-801d-bbd3379185d9", "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": "b274c182-1e54-4a82-af37-616f2244355e", "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": "39c0d461-45f8-4a38-86bc-52850c6427bd", "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": "d6cab3ba-809f-4202-9e9f-6346dc02d10b", "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": "574697cc-1090-45b4-ba0c-83dbc05eea7e", "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": "3a2ef1da-174d-4fd9-9f53-112e8e4258da", "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": "e7ca8768-1467-4191-af95-a41b8c6c2d9e", "documentation": "Delete Tender", "method": "delete", "endpoint": "pos/tenders/:id", "responses": [ { "uuid": "a3f7e621-89c2-42ab-9226-ad4901935964", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Tenders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Tenders", "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": "84e88747-0bba-4703-aaa8-ae6606b548ab", "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": "1a4502f5-c054-4a3d-9b82-e88b3abd093c", "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": "bd080e0c-2f60-48c0-9037-07ce284741c9", "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": "34fdd3e3-b94a-499f-bf3c-87abe8876a34", "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": "b2877248-3026-4b47-95d7-27cdd87c7878", "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": "9cd8acb8-3029-44c8-9ed0-7ee60767873d", "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": "693013af-be75-4c9d-95c3-8e9b21c0eef2", "documentation": "Get Tender", "method": "get", "endpoint": "pos/tenders/:id", "responses": [ { "uuid": "c7e6e740-8e94-4af8-91b4-f96ed0555ea5", "body": "{\n \"data\": {\n \"active\": true,\n \"allows_tipping\": true,\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"editable\": true,\n \"hidden\": true,\n \"id\": \"12345\",\n \"key\": \"com.clover.tender.cash\",\n \"label\": \"Cash\",\n \"opens_cash_drawer\": true,\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\"\n },\n \"operation\": \"one\",\n \"resource\": \"Tenders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Tenders", "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": "03a316b4-6d5c-477a-bfb2-b87815a504b7", "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": "3ee0a401-5389-4676-b6a4-97c31373f081", "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": "6af1113d-81f1-42fc-bb05-e94ed502078f", "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": "7b5a6f7a-8b4f-4233-86d0-66bb8dffc86a", "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": "9ebd47bb-fb8f-4ee1-9104-9e6d6fd0101f", "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": "53efa3c0-7a1d-4b2c-a848-57688d8aa8fb", "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": "f7bad8a3-8f52-49eb-8ef7-cb85daf4ef05", "documentation": "Update Tender", "method": "patch", "endpoint": "pos/tenders/:id", "responses": [ { "uuid": "9d52e724-e9fc-4bbd-a582-3211eed31001", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Tenders\",\n \"service\": \"clover\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Tenders", "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": "63e75f5e-75f4-4897-a590-6445b2aed25d", "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": "3988d28b-b9af-4cef-b1fb-7e1c07510f3a", "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": "fe167845-3941-44b2-8618-4736bbc2cc7e", "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": "67f07934-e823-4585-b41a-567fc7b2d613", "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": "90666de6-2e01-47ef-a6f8-cd4f234bd2c6", "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": "341db0fa-5408-449b-b2f8-4f380bc07e8c", "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": "7bd62904-794c-44ea-93c3-9df03b8e1ad8" }, { "type": "route", "uuid": "7c9efbff-334b-46d4-979a-825bacf0e7a2" }, { "type": "route", "uuid": "f147737d-d028-4f97-a88f-82623fd917f8" }, { "type": "route", "uuid": "af437fd4-9066-4a23-8835-8e82ad0201a4" }, { "type": "route", "uuid": "388f164b-049a-4a15-9866-5dcd05ec0a1c" }, { "type": "route", "uuid": "2b392b3b-3222-48e3-bca0-5d6322726160" }, { "type": "route", "uuid": "14651743-d9b7-411b-830c-6e054e75f157" }, { "type": "route", "uuid": "6f862ade-2da9-4634-a82e-6f2f046534f3" }, { "type": "route", "uuid": "21aed62a-4bf8-4093-8eef-b55902e6fe9a" }, { "type": "route", "uuid": "6f93c2f6-1c51-47e0-8acf-f857e3504012" }, { "type": "route", "uuid": "49ecbb24-fedb-4157-b591-68cf989f98c0" }, { "type": "route", "uuid": "f3a7e52e-500e-40d4-ac47-9f3c61a7011d" }, { "type": "route", "uuid": "227d9750-52a7-43e2-8527-b3be27b2ba58" }, { "type": "route", "uuid": "69af6024-9efe-49f0-a6b1-688a4c0f7eb0" }, { "type": "route", "uuid": "1e71cbdd-e8aa-44d0-a14c-af36d57ece4c" }, { "type": "route", "uuid": "fe81347a-2b77-4017-910e-e5390cb6caca" }, { "type": "route", "uuid": "d7f9d5bf-1efb-4221-bf8f-36c9988819ea" }, { "type": "route", "uuid": "b1db484d-7084-4e7e-a6e9-8f671f82401c" }, { "type": "route", "uuid": "9aeb0616-5917-45c8-be4d-acfc5a4b9d7d" }, { "type": "route", "uuid": "f7973398-1d5e-4cff-983a-e9633de6e084" }, { "type": "route", "uuid": "67248679-e2c1-4c21-8b3c-deea3ca53657" }, { "type": "route", "uuid": "9179a1bf-8709-4e9e-83d6-307230cf8447" }, { "type": "route", "uuid": "52ba181e-2839-44f5-ad84-67d13a60e705" }, { "type": "route", "uuid": "7795054f-18ab-417a-aaa4-01a7dec35541" }, { "type": "route", "uuid": "98364ea7-05d4-494a-962d-f12be8c3d273" }, { "type": "route", "uuid": "d36d23fe-759d-4527-abfe-43bd1fd0dcd8" }, { "type": "route", "uuid": "d1e1a303-bd16-4559-9638-b264a965e205" }, { "type": "route", "uuid": "cde000c6-edf4-4019-895b-940d5b495662" }, { "type": "route", "uuid": "9417013e-25aa-4794-9969-e5379ff6c6a0" }, { "type": "route", "uuid": "d9e5d1f7-4f2d-491f-8e5d-b1cdf9205de9" }, { "type": "route", "uuid": "dd740777-acc4-4efd-a4e8-cead1eade3c8" }, { "type": "route", "uuid": "f79d8b57-d3a6-46ce-ada5-7ba65b7a939c" }, { "type": "route", "uuid": "85adcb65-2077-4922-bb43-b1c080722a69" }, { "type": "route", "uuid": "dc0a2938-0780-474f-a964-00de88ab4c45" }, { "type": "route", "uuid": "b91dddd6-41df-4cb0-8dea-3283315d219e" }, { "type": "route", "uuid": "81995d96-590a-485d-a3ed-d20eaeb395db" }, { "type": "route", "uuid": "5d1bdac9-6345-4ab2-a2b6-761628d01137" }, { "type": "route", "uuid": "87be35bb-e11a-4fe1-804a-4a5252925e68" }, { "type": "route", "uuid": "6ebe3264-e080-40bf-8755-fccecddb5219" }, { "type": "route", "uuid": "25756cf4-6e9a-4e23-9967-674eaaddc9cb" }, { "type": "route", "uuid": "798d55e6-f6ea-41e9-991e-0dc54d91455b" }, { "type": "route", "uuid": "02906ada-8db3-463d-b3a4-f8cdec8f339f" }, { "type": "route", "uuid": "1aef3b43-544a-45a9-ae23-7180c56a2b85" }, { "type": "route", "uuid": "e7ca8768-1467-4191-af95-a41b8c6c2d9e" }, { "type": "route", "uuid": "693013af-be75-4c9d-95c3-8e9b21c0eef2" }, { "type": "route", "uuid": "f7bad8a3-8f52-49eb-8ef7-cb85daf4ef05" } ] }