{"info":{"_postman_id":"3d52502d-cc17-4976-8d47-4890ba470f65","name":"oAuth Process (Nothegger)","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>What does your API do?</p>\n<h1 id=\"overview\">Overview</h1>\n<p>Things that the developers should know about</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>What is the preferred way of using the API?</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>What errors and status codes can a user expect?</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Is there a limit to the number of requests a user can send?</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"7110893","collectionId":"3d52502d-cc17-4976-8d47-4890ba470f65","publishedId":"2sA2rFSfMh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-02-28T08:45:52.000Z"},"item":[{"name":"Access-Token","item":[{"name":"Request access token","event":[{"listen":"test","script":{"id":"1cdc172f-a1d9-44b8-ac2d-a5a7ca6a2417","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"token\", jsonData.data[0].attributes.accessToken);\r","pm.environment.set(\"refresh_token\", jsonData.data[0].attributes.refreshToken);\r","pm.environment.set(\"company_key\", jsonData.data[0].attributes.customerReference);\r","pm.environment.set(\"customer_id\", jsonData.data[0].attributes.customerReference);"],"type":"text/javascript"}}],"id":"9c04fb2e-17b4-475c-a54e-b2eb40ed6540","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json; version=2.0"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json; version=2.0"},{"key":"Accept-Language","value":"de-DE, en;q=0.9"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"access-tokens\",\n        \"attributes\": {\n            \"username\": \"99911\",\n            \"password\": \"12345678\"\n        }\n    }\n}"},"url":"{{protocol}}://{{url}}/access-tokens","urlObject":{"protocol":"{{protocol}}","path":["access-tokens"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"33b02448-b29f-429d-9bcc-2811095645f7","name":"201 - CREATED","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json; version=2.0"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json; version=2.0"},{"key":"Accept-Language","value":"de-DE, en;q=0.9"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"access-tokens\",\n        \"attributes\": {\n            \"username\": \"44444\",\n            \"password\": \"111222\"\n        }\n    }\n}"},"url":{"raw":"{{protocol}}://{{url}}/access-tokens","protocol":"{{protocol}}","host":["{{url}}"],"path":["access-tokens"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Date","value":"Thu, 02 Jul 2020 10:11:21 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; version=2.0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"content-language","value":"de_DE"},{"key":"Craftsupply-Session","value":"f17cc5b7-5776-46cb-ab98-885df16b2729"},{"key":"X-Server","value":"spryker-test"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"type\": \"access-tokens\",\n            \"id\": null,\n            \"attributes\": {\n                \"tokenType\": \"Bearer\",\n                \"expiresIn\": 28800,\n                \"accessToken\": \"<accessToken>\",\n                \"refreshToken\": \"<refreshToken>\",\n                \"customerReference\": \"44444\"\n            },\n            \"links\": {\n                \"self\": \"http://glue-de-spryker-test.smartcommerce.se/access-tokens\"\n            },\n            \"relationships\": {\n                \"customers-without-relations\": {\n                    \"data\": [\n                        {\n                            \"type\": \"customers-without-relations\",\n                            \"id\": \"44444\"\n                        }\n                    ]\n                }\n            }\n        },\n        {\n            \"type\": \"customer_references\",\n            \"id\": null,\n            \"attributes\": {\n                \"customerReference\": \"44444\",\n                \"company\": \"44444\"\n            },\n            \"links\": {\n                \"self\": \"http://glue-de-spryker-test.smartcommerce.se/customer_references\"\n            }\n        }\n    ],\n    \"links\": [],\n    \"included\": [\n        {\n            \"type\": \"companies\",\n            \"id\": \"25812\",\n            \"attributes\": {\n                \"idCompany\": 25812,\n                \"name\": \"Mustermann, Max fj\",\n                \"company\": \"44444\",\n                \"isActive\": true,\n                \"defaultBranch\": \"72\",\n                \"invoiceDeliverySetting\": \"E-Mail\",\n                \"primaryAddress\": null,\n                \"companyAddresses\": [\n                    {\n                        \"idCompanyUnitAddress\": 89627,\n                        \"address1\": \"Mustermann, Max\",\n                        \"address2\": \"In der Au 3\",\n                        \"address3\": \"\",\n                        \"city\": \"Nürtingen\",\n                        \"zipCode\": \"72622\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637669978\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104450,\n                        \"address1\": \"TESTFIRMA 99912, SCHREINEREI PRIMÄR\",\n                        \"address2\": \"Maybachstraße 4\",\n                        \"address3\": \"\",\n                        \"city\": \"Landshut\",\n                        \"zipCode\": \"84001\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637835490\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104451,\n                        \"address1\": \"TESTFIRMA BLA BLA\",\n                        \"address2\": \"Mustergasse 42\",\n                        \"address3\": \"\",\n                        \"city\": \"Landshut\",\n                        \"zipCode\": \"84001\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637835590\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104452,\n                        \"address1\": \"Smart Commerce SE\",\n                        \"address2\": \"Otto-Lilienthal-Straße 24\",\n                        \"address3\": \"\",\n                        \"city\": \"Böblingen\",\n                        \"zipCode\": \"71034\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637835591\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104537,\n                        \"address1\": \"Werkstatt (Rechnung)\",\n                        \"address2\": \"Leibnitzstraße 10\",\n                        \"address3\": \"\",\n                        \"city\": \"Berlin\",\n                        \"zipCode\": \"10625\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637837580\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104542,\n                        \"address1\": \"lorem (Lieferadresse)\",\n                        \"address2\": \"Chillerstr. 10\",\n                        \"address3\": \"\",\n                        \"city\": \"Berlin\",\n                        \"zipCode\": \"10625\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637837798\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104545,\n                        \"address1\": \"Mustermann, Max\",\n                        \"address2\": \"In der Au 3\",\n                        \"address3\": \"\",\n                        \"city\": \"Nürtingen\",\n                        \"zipCode\": \"11111\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637787738\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104546,\n                        \"address1\": \"Mustermann, Max\",\n                        \"address2\": \"In der Au 3\",\n                        \"address3\": \"\",\n                        \"city\": \"Nürtingen\",\n                        \"zipCode\": \"72622\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637686489\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104547,\n                        \"address1\": \"Mustermann, Max\",\n                        \"address2\": \"Musterstr. 13\",\n                        \"address3\": \"\",\n                        \"city\": \"Nuertingen\",\n                        \"zipCode\": \"72622\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637706580\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104623,\n                        \"address1\": \"Musterfirma\",\n                        \"address2\": \"Musterstraße 123\",\n                        \"address3\": \"\",\n                        \"city\": \"Musterstadt\",\n                        \"zipCode\": \"12345\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637838324\"\n                    },\n                    {\n                        \"idCompanyUnitAddress\": 104626,\n                        \"address1\": \"Testfirma\",\n                        \"address2\": \"Teststraße 123\",\n                        \"address3\": \"\",\n                        \"city\": \"Teststadt\",\n                        \"zipCode\": \"12345\",\n                        \"phone\": \"\",\n                        \"comment\": \"\",\n                        \"iso2Code\": \"DE\",\n                        \"isDefaultBilling\": false,\n                        \"isDefaultShipping\": false,\n                        \"isActive\": true,\n                        \"key\": \"5637838379\"\n                    }\n                ]\n            },\n            \"links\": {\n                \"self\": \"http://glue-de-spryker-test.smartcommerce.se/companies/25812\"\n            }\n        },\n        {\n            \"type\": \"customers-without-relations\",\n            \"id\": \"44444\",\n            \"attributes\": {\n                \"firstName\": \"\",\n                \"lastName\": \"\",\n                \"email\": \"post@seefelder.net\",\n                \"gender\": \"Male\",\n                \"dateOfBirth\": null,\n                \"salutation\": \"Mr\",\n                \"createdAt\": \"2019-02-25 15:05:37.478815\",\n                \"updatedAt\": \"2020-06-03 11:10:42.342241\",\n                \"defaultBillingCompanyUnitAddressKey\": null,\n                \"defaultShippingCompanyUnitAddressKey\": null,\n                \"company\": \"44444\"\n            },\n            \"links\": {\n                \"self\": \"http://glue-de-spryker-test.smartcommerce.se/customers-without-relations/44444\"\n            },\n            \"relationships\": {\n                \"companies\": {\n                    \"data\": [\n                        {\n                            \"type\": \"companies\",\n                            \"id\": \"25812\"\n                        }\n                    ]\n                }\n            }\n        }\n    ]\n}"},{"id":"e3067c57-bef5-4c58-8757-c2ffc537c9d6","name":"401 - UNAUTHORIZED","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json; version=2.0"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json; version=2.0"},{"key":"Accept-Language","value":"de-DE, en;q=0.9"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"access-tokens\",\n        \"attributes\": {\n            \"username\": \"invalid-customer\",\n            \"password\": \"invalid-password\"\n        }\n    }\n}"},"url":{"raw":"{{protocol}}://{{url}}/access-tokens","protocol":"{{protocol}}","host":["{{url}}"],"path":["access-tokens"],"query":[{"key":"XDEBUG_SESSION_START","value":"PHPSTORM","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Date","value":"Thu, 02 Jul 2020 10:20:39 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; version=2.0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"content-language","value":"de_DE"},{"key":"WWW-Authenticate","value":"Bearer realm=\"Access to shop API\""},{"key":"Craftsupply-Session","value":"00625666-0203-4dfe-8608-cf0332ce7773"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"003\",\n            \"status\": 401,\n            \"detail\": \"Failed to authenticate user.\"\n        }\n    ]\n}"}],"_postman_id":"9c04fb2e-17b4-475c-a54e-b2eb40ed6540"},{"name":"Refresh access token","event":[{"listen":"test","script":{"id":"4d6fe1ea-f22f-4b73-808c-6633da3c9a28","exec":["var jsonData = JSON.parse(responseBody);\r","pm.environment.set(\"access_token\", jsonData.data.attributes.accessToken);\r","pm.environment.set(\"refresh_token\", jsonData.data.attributes.refreshToken);\r",""],"type":"text/javascript"}}],"id":"8d6d8f4e-5916-46e6-9f38-932d1cea5039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Content-Type","value":"application/json"},{"key":"Accept-Language","value":"de-DE, en;q=0.9"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"refresh-tokens\",\n    \"attributes\": {\n        \"refreshToken\":\"def50200b428187d88e2817b951a48cdce8d15a0d29478e43274d39bf1a8c9c63ca97163c97af829a2e8383c13b9afd5e0cce68a6376edc569bee2911d950641d8f13ec8586e62224cdddcd9abb4b5a2f0bfbd6176ad46330f3b2eac4cc3996ce966020fb9879261109b2b2471009f646d8841860464a12dfcc1be619f06d28c7344ed03fdc57a18b3f3b2d4d962ad8cedab1b2870f6471e84c05de964fe15de34e4472c03d6125c6674e2789c50c5be8302875571db5fffaaa8119dda973ce93641ff90ea977704acc15d2d939d7038068ee56b177e024cc0beae8b6d62366b3b592dcd830c320dabe125d9d18f0f4d7a0057063a8db27ca7031f5293e31b9a91f22600d562a3655e1dd8e15dec281e52ea1422d2b9d493507f5c91a51c1118c5a70eb2a5a97eacbe92215463447e479473606957f8ee37751adfed10a3cbf61892a6b1d2278b77e62f02a5538e3f2785d0002f124d923bfb7882d4cf7ddfdfb51f9db2cd4f23004e232828348c72d87e149a137a63017963a1b656a397069bcfd061e0f500c377e69ed5824048345e02d695363509e26bc249cb2d2b19f2818f748114acdb08b0f10f2704b65ea938c0141eab6515cf19c2fa84fc27297258a93f3fdcc46b8e93227353426e2d323fdd129a2cedf4cb0292dcca294d8e8f6f33548e44158518f906b067421665dd75ace508b35d95345a62a9006ea6cd5716915721926af1902dd789fafe97fefac74fb1f0bfab1d87e3e90f2c2b9108caec01d219063ce843c9\"\n    }\n  }\n}\n\n\n"},"url":"{{protocol}}://{{url}}/refresh-tokens","urlObject":{"protocol":"{{protocol}}","path":["refresh-tokens"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d6d8f4e-5916-46e6-9f38-932d1cea5039"},{"name":"Authorization Code","event":[{"listen":"test","script":{"id":"4dc77b94-7c0f-4672-903c-05ac2db3ccdc","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"oauth.authorization_code\", jsonData.data.attributes.code);"],"type":"text/javascript","packages":{}}}],"id":"1fb54a9e-f4e4-4ab9-8223-e3d696299839","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"authorize\",\n        \"attributes\": {\n            \"responseType\": \"code\",\n            \"clientId\": \"nothegger\",\n            \"scope\": \"me nothegger-carts carts.nothegger-items\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{protocol}}://{{url}}/authorize","description":"<p>This HTTP POST request is used to authorize a client. The request should include a payload with the following structure in raw format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"type\": \"\",\n    \"attributes\": {\n      \"responseType\": \"code\",\n      \"clientId\": \"&lt;client_id&gt;\",\n      \"scope\": \"me\"\n    }\n  }\n}\n\n</code></pre>\n<p>The response to this request will have a status code of 201 and a content type of application/vnd.api+json. The response body will contain the authorized code in the attributes section. Here is an example of the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"type\": \"authorize\",\n    \"id\": null,\n    \"attributes\": {\n      \"code\": \"&lt;code&gt;\"\n    },\n    \"links\": {\n      \"self\": \".../authorize\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"{{protocol}}","path":["authorize"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d08e1c36-8c70-4355-8df5-479b387f1455","name":"201 Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"authorize\",\n        \"attributes\": {\n            \"responseType\": \"code\",\n            \"clientId\": \"<client_id>\",\n            \"scope\": \"<scope>\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{protocol}}://{{url}}/authorize"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 10:05:59 GMT"},{"key":"Content-Type","value":"application/vnd.api+json; version=1.0"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"content-language","value":"de_DE"},{"key":"Craftsupply-Session","value":"40bf2f19-3ea3-4465-9860-e5b8d916e911"},{"key":"X-Server","value":"spryker-prod-l2-glue-seefelder-b5bcf748d-ldfct"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"type\": \"authorize\",\n        \"id\": null,\n        \"attributes\": {\n            \"code\": \"<token>\"\n        },\n        \"links\": {\n            \"self\": \"https://glue-seefelder.sf.smartcommerce.se/authorize\"\n        }\n    }\n}"}],"_postman_id":"1fb54a9e-f4e4-4ab9-8223-e3d696299839"},{"name":"Token","event":[{"listen":"test","script":{"id":"152431d0-5a72-4eb3-a493-b48f403dbb6a","exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"oauth.access_token\", jsonData.access_token);","postman.setEnvironmentVariable(\"oauth.refresh_token\", jsonData.refresh_token);"],"type":"text/javascript"}}],"id":"1657d349-0457-46d2-856a-fb8e6867c691","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"client_id","value":"{{oauth.client.client_id}}","type":"text"},{"key":"client_secret","value":"{{oauth.client.client_secret}}","type":"text"},{"key":"code","value":"{{oauth.authorization_code}}","type":"text"}]},"url":"{{protocol}}://{{url}}/token","description":"<h3 id=\"token-request\">Token Request</h3>\n<p>This endpoint allows the client to request a token by providing the necessary credentials and code.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>grant_type</code> (text): The type of grant being requested.</li>\n<li><code>client_id</code> (text): The client ID for the application.</li>\n<li><code>client_secret</code> (text): The client secret for the application.</li>\n<li><code>code</code> (text): The authorization code received from the authorization server.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li>Status: 400</li>\n<li>Content-Type: application/json</li>\n<li><code>error</code>: An error code indicating the reason for the failure.</li>\n<li><code>error_description</code>: A description of the error encountered.</li>\n</ul>\n","urlObject":{"protocol":"{{protocol}}","path":["token"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1657d349-0457-46d2-856a-fb8e6867c691"},{"name":"Me","id":"f2a2e8fa-0151-4281-b683-6ebb7a42db61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{oauth.access_token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{protocol}}://{{url}}/me","urlObject":{"protocol":"{{protocol}}","path":["me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1e77089b-87ad-48a4-849b-be7948e17e37","name":"200 Success","originalRequest":{"method":"GET","header":[],"url":"{{protocol}}://{{url}}/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 28 Feb 2024 09:03:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer\": \"99904\",\n    \"company\": \"Testfirma 99904 GmbH\",\n    \"salutation\": \"Mr\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"billing_email\": \"testkunde99904@smartcommerce.se\",\n    \"billing_address1\": null,\n    \"billing_address2\": null,\n    \"billing_postcode\": null,\n    \"billing_city\": null,\n    \"billing_state\": null,\n    \"billing_phone\": \"0711123456\",\n    \"shipping_address1\": null,\n    \"shipping_address2\": null,\n    \"shipping_postcode\": null,\n    \"shipping_city\": null,\n    \"shipping_state\": null,\n    \"shipping_phone\": \"0711123456\",\n    \"price_multiplier\": [\n        {\n            \"default\": 1.5\n        },\n        {\n            \"nothegger_produktgruppe_1\": 1.3\n        }\n    ]\n}"}],"_postman_id":"f2a2e8fa-0151-4281-b683-6ebb7a42db61"}],"id":"876bea03-bc0b-4c42-a8bb-81e2e6886207","event":[{"listen":"prerequest","script":{"id":"2733e56a-76d1-4a5e-ab61-8fe487844109","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"486e913e-6b7d-4720-9278-cdd6ed874bd0","type":"text/javascript","exec":[""]}}],"_postman_id":"876bea03-bc0b-4c42-a8bb-81e2e6886207","description":""},{"name":"Checkout","item":[{"name":"Cart","item":[{"name":"v1.0","item":[{"name":"Add Nothegger Item to cart","id":"50133493-0a66-43d9-8452-5003cc2cc0d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json; version=1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept-Language","value":"de-DE, en;q=0.9,*;q=0.5","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"nothegger-items\",\n        \"attributes\": {\n            \"orderId\": \"asdf54-asdf687-65rt\",\n            \"items\": [\n                {\n                    \"doi\": \"123456789\",\n                    \"quantity\": 1,\n                    \"unitNetPrice\": 123.45,\n                    \"name\": \"Schublade mit Einsatz\",\n                    \"description\": \"<p>Nothegger Article</p>\",\n                    \"image\": \"https://www.nothegger-massiv.at/wp-content/uploads/2020/04/Nothegger-Massiv-weiss-gruen-2024.png\"\n                }\n            ],\n            \"tracking\": {\n                \"url\": \"/\",\n                \"origin\": \"Nothegger Konfigurator\",\n                \"context\": \"Nothegger Konfigurator\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{protocol}}://{{url}}/carts/:cartId/nothegger-items","urlObject":{"protocol":"{{protocol}}","path":["carts",":cartId","nothegger-items"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"{{cart_id}}","key":"cartId"}]}},"response":[],"_postman_id":"50133493-0a66-43d9-8452-5003cc2cc0d7"}],"id":"8bbc913a-1250-4f6e-bce5-c14798e70c4d","_postman_id":"8bbc913a-1250-4f6e-bce5-c14798e70c4d","description":""}],"id":"d6ea084a-f19f-4c4a-ba25-6f7f8403323e","description":"<h1 id=\"cart\">Cart</h1>\n","event":[{"listen":"prerequest","script":{"id":"53ca3aef-4132-40c6-8dc2-200e43c4013d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a898d637-4c4e-4546-8717-157c3bbab5c9","type":"text/javascript","exec":[""]}}],"_postman_id":"d6ea084a-f19f-4c4a-ba25-6f7f8403323e"}],"id":"e5792340-3572-4c3f-8ef3-d9fd6c1ed8d1","_postman_id":"e5792340-3572-4c3f-8ef3-d9fd6c1ed8d1","description":""},{"name":"Version Information","id":"5bbe58d3-b540-49b8-b182-5f46627c53f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json; version=1.0","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{protocol}}://{{url}}/version","urlObject":{"protocol":"{{protocol}}","path":["version"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bbe58d3-b540-49b8-b182-5f46627c53f9"},{"name":"Endpoint Versions","id":"803e1513-98ce-4150-99ad-ab667ffc1dba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/vnd.api+json; version=1.0"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{protocol}}://{{url}}/endpoint-versions","urlObject":{"protocol":"{{protocol}}","path":["endpoint-versions"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"803e1513-98ce-4150-99ad-ab667ffc1dba"}],"variable":[{"key":"agent.username","value":""},{"key":"agent.password","value":""},{"key":"agent_username","value":""},{"key":"agent_password","value":""}]}