{"info":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","description":"<html><head></head><body><p>Headless Commerce API</p>\n<p>Contact Support:\n Name: Appibase\n Email: <a href=\"mailto:hello@appibase.com\">hello@appibase.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13364066","collectionId":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","publishedId":"UVeFLRV8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"F24333"},"publishDate":"2022-02-02T09:19:07.000Z"},"item":[{"name":"authentication","item":[{"name":"get Token","id":"9adc23d2-4705-4f42-be5a-794af687edbd","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"authorization_code","description":"<p>(Required) OAuth 2.0 grant flows</p>\n"},{"key":"code","value":"fWtyd3t7YKs4B9-h4wSc-WQHrW9TkYfvX4dYZdZY0Fg","description":"<p>Authorization Code obtained from the /oauth/authorize endpoint via the front channel.</p>\n"},{"key":"redirect_uri","value":"urn:ietf:wg:oauth:2.0:oob","description":"<p>Redirect URI, applicable to the Authorization Code flow.</p>\n"},{"key":"refresh_token","value":"X_XD1o5gb1gONuGmJXgKXv9cXdDYd4-rOoQc3L27aeQ","description":"<p>Refresh Token, used to get a new Access Token.</p>\n"},{"key":"scope","value":"admin","description":"<p>OAuth 2.0 scopes.</p>\n"}]},"url":"https://www.appibase.com/oauth/token","description":"<p>Get token</p>\n","urlObject":{"protocol":"https","path":["oauth","token"],"host":["www","appibase","com"],"query":[],"variable":[]}},"response":[{"id":"2d58aab2-e4b4-4dca-963f-fbe94e9c29c3","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) OAuth 2.0 grant flows","key":"grant_type","value":"authorization_code"},{"description":"Authorization Code obtained from the /oauth/authorize endpoint via the front channel.","key":"code","value":"fWtyd3t7YKs4B9-h4wSc-WQHrW9TkYfvX4dYZdZY0Fg"},{"description":"Redirect URI, applicable to the Authorization Code flow.","key":"redirect_uri","value":"urn:ietf:wg:oauth:2.0:oob"},{"description":"Refresh Token, used to get a new Access Token.","key":"refresh_token","value":"X_XD1o5gb1gONuGmJXgKXv9cXdDYd4-rOoQc3L27aeQ"},{"description":"OAuth 2.0 scopes.","key":"scope","value":"admin"}]},"url":"https://www.appibase.com/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"access_token\": \"U3KEGZogYQGvNu8SMPWLp5jBxMri5pFb7CJzeDTfF2w\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 7200,\n \"refresh_token\": \"X_XD1o5gb1gONuGmJXgKXv9cXdDYd4-rOoQc3L27aeQ\",\n \"scope\": \"admin\",\n \"created_at\": 1634654181,\n \"id_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im56cDRmQXE0NmVQRlRLYWFyTjJlRzdsWGF4aURvVnBIcG5VRlN2OVRRclUifQ.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjMwMDAvb2F1dGgiLCJzdWIiOiI2YjUxZDQzMWRmNWQ3ZjE0MWNiZWNlY2NmNzllZGYzZGQ4NjFjM2I0MDY5ZjBiMTE2NjFhM2VlZmFjYmJhOTE4IiwiYXVkIjoiNUpGSUVzOTMza3lpdnJMNkxjX18weUFjY3M0VTFxbFg1TVRmaThGcFZaUSIsImV4cCI6MTYzNDc1MDA4NCwiaWF0IjoxNjM0NzQ5OTY0LCJlbWFpbCI6InJhZmlrQGFwcGliYXNlLmNvbSJ9.ubDZ2GQSu3GRcEmvsK0R_T1506LVo6Xn0AiUL4ySkm1c3l07-7AmPcgS0r5-sU6WyzCI-1U0QjxRCyubm69sk-OeBq5RLZoOgt1gDR52DzTENQMoaP9TEZ8i7Xw8G2f2Rgw48SUpghYODiHsgozCaemlpaEa6xB4upwL_TTksYYbkAhXEAZHH_3et1D4w9msl9Vl0xWBzKj_FkJqVm7TWqffBCml1jZlwlYSax_8DvlBbrCAvhtUHoHYbOj67LrcvAW38DklY-0hxmJiJ4Ugbc5JdcH4py4Va6X_L1pc3cxijLO9dxFbOChdxfj0JeHAoD-PtPRIAe0yuFQIBsHFlGw0pDGKNwAe1PQ97sk5YzqmultuLho4JJtTq-SxbFtrjzQaJkYLavXGfE8-5CuiJR3UOPPzoHZc0A5RariZc0o40IcG6YpgMeDgwcnD31_Lg8T_y_Tiuu5YMMLWFvgOG2McqeJN7Xu9ND2HqKVV-jIMaI0rwmRRAaGxkBQXAa0WphKw4XYVL6iS1UVcGKvxMaYUx0WyFWL3ZEdI34QnWjWDGQNTfY8ZBJX_VoDE6c7V64tNGqvoJKUT_QIsbYE101diXgvbpoBbTrNJ4TMl62jumUaiu0Bmzv-kyjijeoxrTCGdRrT_m2BuogmruWco-CdN5crS5LPL6URbsG9FbLA\"\n}"},{"id":"6f38aab5-1cce-49c5-a4d3-e24f36677f08","name":"Error response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) OAuth 2.0 grant flows","key":"grant_type","value":"authorization_code"},{"description":"Authorization Code obtained from the /oauth/authorize endpoint via the front channel.","key":"code","value":"fWtyd3t7YKs4B9-h4wSc-WQHrW9TkYfvX4dYZdZY0Fg"},{"description":"Redirect URI, applicable to the Authorization Code flow.","key":"redirect_uri","value":"urn:ietf:wg:oauth:2.0:oob"},{"description":"Refresh Token, used to get a new Access Token.","key":"refresh_token","value":"X_XD1o5gb1gONuGmJXgKXv9cXdDYd4-rOoQc3L27aeQ"},{"description":"OAuth 2.0 scopes.","key":"scope","value":"admin"}]},"url":"https://www.appibase.com/oauth/token"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n \"status\": \"403\",\n \"title\": \"Forbidden\",\n \"source\": null\n}"}],"_postman_id":"9adc23d2-4705-4f42-be5a-794af687edbd"},{"name":"get Token Info","id":"9d3db115-a53d-4f8d-8e91-498f0f3e742f","request":{"method":"GET","header":[],"url":"https://www.appibase.com/oauth/token/info","description":"<p>Get token info</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","token","info"],"host":["www","appibase","com"],"query":[],"variable":[]}},"response":[{"id":"fbe531c2-6e0a-4235-9467-97a5aacf5a7e","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://www.appibase.com/oauth/token/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"resource_owner_id\": 1,\n \"scope\": [\n  \"admin\",\n  \"admin\"\n ],\n \"expires_in\": 7181,\n \"application\": {\n  \"uid\": \"5JFIEs933kyivrL6LcYU0yAccs4U1qlX5MTfi8FpVZQ\"\n },\n \"created_at\": 1634739526,\n \"resource_owner_type\": \"User\"\n}"},{"id":"d80ce109-6246-412f-9e6a-14610daf329e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://www.appibase.com/oauth/token/info"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"error\": \"invalid_token\",\n \"error_description\": \"The access token is invalid\",\n \"state\": \"unauthorized\"\n}"},{"id":"897b71bd-1301-4558-9158-1b9cc554a2af","name":"Error response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://www.appibase.com/oauth/token/info"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n \"status\": \"403\",\n \"title\": \"Forbidden\",\n \"source\": null\n}"}],"_postman_id":"9d3db115-a53d-4f8d-8e91-498f0f3e742f"},{"name":"introspect Token","id":"02763fcb-4e23-4746-aa20-3151571710af","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"Dj6NZNgsZvpjSyeRd31ZBFFcPLuqyKOQaWB0sZ8O2sc"}]},"url":"https://www.appibase.com/oauth/introspect","description":"<p>Introspect token</p>\n","urlObject":{"protocol":"https","path":["oauth","introspect"],"host":["www","appibase","com"],"query":[],"variable":[]}},"response":[{"id":"c425af72-a833-433b-8ff5-59a05ff1a5d2","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"Dj6NZNgsZvpjSyeRd31ZBFFcPLuqyKOQaWB0sZ8O2sc"}]},"url":"https://www.appibase.com/oauth/introspect"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"active\": true,\n \"scope\": \"admin\",\n \"client_id\": \"5JFIEs933kyivrL6LcYU0yAccs4U1qlX5MTfi8FpVZQ\",\n \"token_type\": \"Bearer\",\n \"exp\": 1634747551,\n \"iat\": 1634740351\n}"},{"id":"58a1d1f0-e941-4abc-8287-2e8ebca293c6","name":"Error response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"Dj6NZNgsZvpjSyeRd31ZBFFcPLuqyKOQaWB0sZ8O2sc"}]},"url":"https://www.appibase.com/oauth/introspect"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n \"status\": \"403\",\n \"title\": \"Forbidden\",\n \"source\": null\n}"}],"_postman_id":"02763fcb-4e23-4746-aa20-3151571710af"},{"name":"revoke Token","id":"16e84164-3729-47f8-be00-f0521c4ef47d","request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"Dj6NZNgsZvpjSyeRd31ZBFFcPLuqyKOQaWB0sZ8O2sc"}]},"url":"https://www.appibase.com/oauth/revoke","description":"<p>Revoke token.</p>\n","urlObject":{"protocol":"https","path":["oauth","revoke"],"host":["www","appibase","com"],"query":[],"variable":[]}},"response":[{"id":"7501bd59-08c4-4038-9898-3886b24701bb","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"Dj6NZNgsZvpjSyeRd31ZBFFcPLuqyKOQaWB0sZ8O2sc"}]},"url":"https://www.appibase.com/oauth/revoke"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"a971215d-75b5-47ce-89f0-79daae5ef499","name":"Error response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"Dj6NZNgsZvpjSyeRd31ZBFFcPLuqyKOQaWB0sZ8O2sc"}]},"url":"https://www.appibase.com/oauth/revoke"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n \"status\": \"403\",\n \"title\": \"Forbidden\",\n \"source\": null\n}"}],"_postman_id":"16e84164-3729-47f8-be00-f0521c4ef47d"},{"name":"get Userinfo","id":"031b79a6-2651-4adc-b24f-0400994a8d4d","request":{"method":"POST","header":[],"url":"https://www.appibase.com/oauth/userinfo","description":"<p>Get user info</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","userinfo"],"host":["www","appibase","com"],"query":[],"variable":[]}},"response":[{"id":"6f766059-7fae-4d5c-841e-c071ef6fd65e","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://www.appibase.com/oauth/userinfo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"sub\": \"6b51d431df5d7f141cbececcf79edf3dd861c3b4069f0b11661a3eefacbba918\",\n \"email\": \"john.smith@gmail.com\"\n}"},{"id":"873828cf-c810-49af-9e17-d2c39b733a85","name":"Error response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://www.appibase.com/oauth/userinfo"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n \"status\": \"403\",\n \"title\": \"Forbidden\",\n \"source\": null\n}"}],"_postman_id":"031b79a6-2651-4adc-b24f-0400994a8d4d"}],"id":"462dfc73-0477-4bf5-82bb-a0041e25c7c6","description":"<p>OAuth 2.0 and OpenID Connect endpoints.</p>\n","_postman_id":"462dfc73-0477-4bf5-82bb-a0041e25c7c6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"addresses","item":[{"name":"create Address","id":"be099313-f717-4ed7-9da2-e8ebe2a7f49d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/addresses","description":"<p>Create an address with customer token</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["addresses"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"3d15ed55-bd2f-4013-a15d-99479b49cd80","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"108eb666-31c5-467a-bdeb-b8345736df79","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/addresses","host":["https://www.appibase.com/2/api/v1"],"path":["addresses"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": \"Work\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Smith\",\n   \"company\": \"Appibase Limited\",\n   \"phone\": \"+44 207 0000 000\",\n   \"line1\": \"191 Wood Ln\",\n   \"line2\": \"White City\",\n   \"city\": \"London\",\n   \"postal_code\": \"W12 7FP\",\n   \"region\": \"England\",\n   \"region_code\": \"ENG\",\n   \"country\": \"United Kingdom\",\n   \"country_code\": \"UK\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"f3c98e6e-f431-4f68-9510-e6863df0171b","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/addresses","host":["https://www.appibase.com/2/api/v1"],"path":["addresses"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"be099313-f717-4ed7-9da2-e8ebe2a7f49d"},{"name":"get Address","id":"f7db2203-8a4d-4ce4-8e50-60ebc6c020da","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/addresses/:id","description":"<p>Get an address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["addresses",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"98b345aa-77d4-4ede-b931-f57058419230","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"260fb808-49e0-4191-8306-c47777ca8313","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"ae92c5a5-216d-4516-9204-3d5bab7b81ba","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": \"Work\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Smith\",\n   \"company\": \"Appibase Limited\",\n   \"phone\": \"+44 207 0000 000\",\n   \"line1\": \"191 Wood Ln\",\n   \"line2\": \"White City\",\n   \"city\": \"London\",\n   \"postal_code\": \"W12 7FP\",\n   \"region\": \"England\",\n   \"region_code\": \"ENG\",\n   \"country\": \"United Kingdom\",\n   \"country_code\": \"UK\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"bdb5328b-6e1e-469d-950b-8a840f46cfbc","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"77a664b1-d70e-4cec-bd1a-aae3b41e42ef","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f7db2203-8a4d-4ce4-8e50-60ebc6c020da"},{"name":"update Address","id":"42d58fa2-75e3-44dd-bdb1-61b78ae89bd6","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"name\": \"Work\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line1\": \"191 Wood Ln\",\n            \"line2\": \"White City\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\",\n            \"country_code\": \"UK\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/addresses/:id","description":"<p>Update an address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["addresses",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"c6debc91-bd42-439f-8e5d-179d64bfaa61","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"34b61dbd-fd78-4610-8bfa-ffb85e40c6fd","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"46f72112-33ab-4cb6-9fd0-3968807cb1d9","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"name\": \"Work\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line1\": \"191 Wood Ln\",\n            \"line2\": \"White City\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\",\n            \"country_code\": \"UK\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": \"Work\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Smith\",\n   \"company\": \"Appibase Limited\",\n   \"phone\": \"+44 207 0000 000\",\n   \"line1\": \"191 Wood Ln\",\n   \"line2\": \"White City\",\n   \"city\": \"London\",\n   \"postal_code\": \"W12 7FP\",\n   \"region\": \"England\",\n   \"region_code\": \"ENG\",\n   \"country\": \"United Kingdom\",\n   \"country_code\": \"UK\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"3487383d-8c51-440a-a833-bafad5bcc1f5","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"name\": \"Work\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line1\": \"191 Wood Ln\",\n            \"line2\": \"White City\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\",\n            \"country_code\": \"UK\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"42d58fa2-75e3-44dd-bdb1-61b78ae89bd6"},{"name":"delete Address","id":"06e4ebdc-0bd2-4d51-aa4d-de6687acdc2c","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/addresses/:id","description":"<p>Delete an address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["addresses",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"d52fc4a4-ed4e-493f-97c8-55d4873886fe","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"3ca611a1-4216-454b-988c-eca5e951f9ef","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"81b4d47b-8b09-4e76-a512-b6e0336f7f41","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a09888de-add5-4226-aae0-7ea9ab6c542c","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/addresses/:id","host":["https://www.appibase.com/2/api/v1"],"path":["addresses",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"06e4ebdc-0bd2-4d51-aa4d-de6687acdc2c"},{"name":"create Customer Address","id":"fbf12d7f-6fe0-4c64-9778-35ac9f454bd1","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/customers/:customer_id/addresses","description":"<p>Create a customer address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers",":customer_id","addresses"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"d233b983-cefd-424b-aebf-1a893e4973c0","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"9d7d140d-a058-42c7-9aec-74a9a8b0b1b9","description":{"content":"<p>(Required) Customer ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"customer_id"}]}},"response":[{"id":"26109cab-2b4f-46bf-865c-7cb01943a745","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:customer_id/addresses","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":customer_id","addresses"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"customer_id","value":"9873458734","description":"(Required) Customer ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": \"Work\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Smith\",\n   \"company\": \"Appibase Limited\",\n   \"phone\": \"+44 207 0000 000\",\n   \"line1\": \"191 Wood Ln\",\n   \"line2\": \"White City\",\n   \"city\": \"London\",\n   \"postal_code\": \"W12 7FP\",\n   \"region\": \"England\",\n   \"region_code\": \"ENG\",\n   \"country\": \"United Kingdom\",\n   \"country_code\": \"UK\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"2d23d63b-4fb6-4ebc-bd77-e859e499f5cc","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:customer_id/addresses","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":customer_id","addresses"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"customer_id","value":"9873458734","description":"(Required) Customer ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"fbf12d7f-6fe0-4c64-9778-35ac9f454bd1"},{"name":"get Customer Addresses","id":"cd03e71d-2f61-4e0f-b92a-7f5094867aca","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/customers/:customer_id/addresses?limit=10","description":"<p>Get all customer addresses</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers",":customer_id","addresses"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"e65cabd5-6bfd-4218-909b-1b33f34b3569","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"243be36d-465f-4cae-97c5-57bedf131dd0","description":{"content":"<p>(Required) Customer ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"customer_id"}]}},"response":[{"id":"0dcd709b-bc01-423b-9abc-5d5c48ca2b66","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:customer_id/addresses?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":customer_id","addresses"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"customer_id","value":"9873458734","description":"(Required) Customer ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"address\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"address\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"a79a0b89-2b91-451c-a2e3-c1c6f009fbd6","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:customer_id/addresses?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":customer_id","addresses"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"customer_id","value":"9873458734","description":"(Required) Customer ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"cd03e71d-2f61-4e0f-b92a-7f5094867aca"},{"name":"create Merchant Address","id":"1e387e30-0e7f-4282-8067-61d0905ecf0d","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/address","description":"<p>Create a merchant address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":merchant_id","address"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"06a7f3a0-ab6a-4a4d-9937-5991d9b11990","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"07e146c6-0105-4f42-9906-9c7d6212bc46","description":{"content":"<p>(Required) Merchant ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"merchant_id"}]}},"response":[{"id":"7ae59eac-e7ca-4868-b47a-b960c1c2a811","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/address","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": \"Work\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Smith\",\n   \"company\": \"Appibase Limited\",\n   \"phone\": \"+44 207 0000 000\",\n   \"line1\": \"191 Wood Ln\",\n   \"line2\": \"White City\",\n   \"city\": \"London\",\n   \"postal_code\": \"W12 7FP\",\n   \"region\": \"England\",\n   \"region_code\": \"ENG\",\n   \"country\": \"United Kingdom\",\n   \"country_code\": \"UK\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"390f4454-54e7-43ba-a0e4-0cbbe415f175","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/address","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1e387e30-0e7f-4282-8067-61d0905ecf0d"},{"name":"get Merchant Address","id":"c02d834e-33e1-496f-94c3-492d5e8c327f","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/address?limit=10","description":"<p>Get merchant address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":merchant_id","address"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"f91a00b9-1228-40b0-bb78-4a05caf6bfde","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"8a54d00c-35df-448a-ac7c-c2d4e40dba9a","description":{"content":"<p>(Required) Merchant ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"merchant_id"}]}},"response":[{"id":"450f90ef-b1c8-462d-838f-fd7134e59636","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/address?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","address"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"address\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"address\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"6b3a218c-374a-43a3-a3ed-f0176ec3f67d","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/address?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","address"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c02d834e-33e1-496f-94c3-492d5e8c327f"},{"name":"create Stock Location Address","id":"ff6e28c8-73e7-4eda-9c26-afe9b06c5937","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/address","description":"<p>Create a stock location address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":stock_location_id","address"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"973b92ae-a296-4cc0-9d69-dc033c1090b7","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"36dfe6a7-f905-44d8-857f-1cd418fedb7e","description":{"content":"<p>(Required) Stock Location ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"stock_location_id"}]}},"response":[{"id":"f9f4d7f1-26f4-4157-af04-6f59b5e21d21","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/address","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": \"Work\",\n   \"first_name\": \"John\",\n   \"last_name\": \"Smith\",\n   \"company\": \"Appibase Limited\",\n   \"phone\": \"+44 207 0000 000\",\n   \"line1\": \"191 Wood Ln\",\n   \"line2\": \"White City\",\n   \"city\": \"London\",\n   \"postal_code\": \"W12 7FP\",\n   \"region\": \"England\",\n   \"region_code\": \"ENG\",\n   \"country\": \"United Kingdom\",\n   \"country_code\": \"UK\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"10913f50-0409-4842-8537-379a122bb609","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"address\",\n        \"attributes\": {\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\",\n            \"line1\": \"191 Wood Ln\",\n            \"city\": \"London\",\n            \"postal_code\": \"W12 7FP\",\n            \"country_code\": \"UK\",\n            \"name\": \"Work\",\n            \"company\": \"Appibase Limited\",\n            \"phone\": \"+44 207 0000 000\",\n            \"line2\": \"White City\",\n            \"region\": \"England\",\n            \"region_code\": \"ENG\",\n            \"country\": \"United Kingdom\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/address","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"ff6e28c8-73e7-4eda-9c26-afe9b06c5937"},{"name":"get Stock Location Address","id":"7a7531c6-b9e0-45bb-9797-71aa2acafdc7","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/address?limit=10","description":"<p>Get stock location address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":stock_location_id","address"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"fb0fad9a-2394-4ef5-8350-862002278f1c","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"4b7127f4-577d-43e5-b01a-f4ad76b677bd","description":{"content":"<p>(Required) Stock Location ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"stock_location_id"}]}},"response":[{"id":"623ce688-1865-464d-a5d9-dcf81a217c91","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/address?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","address"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"address\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"address\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"b575f037-6521-4e24-9108-419c5ef50e4f","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/address?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","address"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"7a7531c6-b9e0-45bb-9797-71aa2acafdc7"}],"id":"1888b0ca-4f66-4e32-9d07-aa4e106dcf0e","description":"<p>Addresses can be associated with orders as their shipping or billing addresses.</p>\n","_postman_id":"1888b0ca-4f66-4e32-9d07-aa4e106dcf0e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"customers","item":[{"name":"create Customer","id":"d5119fb8-cfbd-4d7a-82fc-9a05e0f90743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer\",\n    \"attributes\": {\n      \"email\": \"john@gmail.com\",\n      \"name\": \"John Smith\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/customers","description":"<p>Create a customer</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"d5a09b33-a019-4a86-b3c1-c34fb71daffb","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"cf60f476-3a1e-42a6-be3e-f8aa7c5db549","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer\",\n    \"attributes\": {\n      \"email\": \"john@gmail.com\",\n      \"name\": \"John Smith\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/customers","host":["https://www.appibase.com/2/api/v1"],"path":["customers"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"id\": \"1\",\n    \"type\": \"customer\",\n    \"attributes\": {\n      \"email\": \"john@gmail.com\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Smith\"\n    },\n    \"links\": {\n      \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n    }\n  },\n  \"links\": {\n    \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n  }\n}"},{"id":"685ccdd9-60a8-473d-8766-2f57de658f47","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john.smith@gmail.com\",\n    \"registered\": true,\n    \"password\": \"consequat laborum mollit sed\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"livemode\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/customers","host":["https://www.appibase.com/2/api/v1"],"path":["customers"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"d5119fb8-cfbd-4d7a-82fc-9a05e0f90743"},{"name":"get Customers","id":"d92ae00d-aa14-44f8-959f-ccf180c1940c","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/customers?limit=10","description":"<p>Get all customers</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"3b885055-2cd2-49d1-b53c-f4fc37fcab93","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"2f90e9a0-232c-4f61-bf49-13f457fba372","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["customers"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"1\",\n      \"type\": \"customer\",\n      \"attributes\": {\n        \"email\": \"john.smith@appibase.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Smith\"\n      },\n      \"links\": {\n        \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n      }\n    }\n  ],\n  \"meta\": {\n    \"pagination\": {\n      \"current\": 1,\n      \"records\": 1\n    }\n  },\n  \"links\": {\n    \"self\": \"https://appibase.com/2/api/v1/customers\",\n    \"current\": \"https://appibase.com/2/api/v1/customers?page[number]=1\"\n  }\n}"},{"id":"0f9543ea-c73a-4811-9582-dca56168e4b4","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["customers"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"d92ae00d-aa14-44f8-959f-ccf180c1940c"},{"name":"get Customer","id":"1c67fc8c-ecec-453f-937b-c45dc1944785","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/customers/:id","description":"<p>Get a customer</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"6c73ee22-1eb9-4be2-9e79-4ce71b667c17","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"05933a49-ae6a-47da-a9f8-31ef01541e5d","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"464686d4-088d-4856-94ff-c96680bee5be","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"id\": \"1\",\n    \"type\": \"customer\",\n    \"attributes\": {\n      \"email\": \"john@gmail.com\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Smith\"\n    },\n    \"links\": {\n      \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n    }\n  },\n  \"links\": {\n    \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n  }\n}"},{"id":"5b1fb444-ec9c-4757-990e-860bee6aa66c","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"8401e242-7b2c-49f9-a779-3781967deb21","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1c67fc8c-ecec-453f-937b-c45dc1944785"},{"name":"update Customer","id":"41a804be-8e09-4c35-9ec1-f865dbb88b4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer\",\n    \"attributes\": {\n      \"email\": \"john@gmail.com\",\n      \"name\": \"John Smith\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/customers/:id","description":"<p>Update a customer</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"e29e82e8-b696-4c3c-83b6-e7daeed3b4af","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"3be126f3-eeec-4d85-b450-66b57b530a51","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"customer\",\n    \"attributes\": {\n      \"email\": \"john@gmail.com\",\n      \"name\": \"John Smith\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"customer\",\n        \"attributes\": {\n            \"email\": \"john@gmail.com\",\n            \"first_name\": \"John\",\n            \"last_name\": \"Smith\"\n        },\n        \"links\": {\n            \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n        }\n    },\n    \"links\": {\n        \"self\": \"https://appibase.com/2/api/v1/customers/1\"\n    }\n}"},{"id":"5e94d507-1b5d-4de8-9b02-fac8b1d8855c","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john.smith@gmail.com\",\n    \"registered\": true,\n    \"password\": \"enim proident\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"livemode\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"41a804be-8e09-4c35-9ec1-f865dbb88b4d"},{"name":"delete Customer","id":"63026061-c7dd-4d23-a3cd-ea2553ccb632","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/customers/:id","description":"<p>Delete a customer</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["customers",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"48a854ed-9c7a-4db0-8d82-b09473791701","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"4102f1d0-5f21-4473-af49-0ee1e3de3e8b","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"5e074bce-201e-433f-b6fb-b51bc4f136ff","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"69deda24-23a8-4a10-9685-19c4d7231262","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/customers/:id","host":["https://www.appibase.com/2/api/v1"],"path":["customers",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"63026061-c7dd-4d23-a3cd-ea2553ccb632"}],"id":"206f26df-567b-4c73-8869-49fd52649091","description":"<p>Customers can be guests or registered users.</p>\n","_postman_id":"206f26df-567b-4c73-8869-49fd52649091","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"merchants","item":[{"name":"create Merchant","id":"3f5455cf-8348-4298-8fd5-7dd2fed02bf1","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"merchant\",\n        \"attributes\": {\n            \"name\": \"Apple (UK) Limited\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/merchants","description":"<p>Create a merchant</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"5146082c-6895-44d6-a271-7c73a7ba8f7b","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"70e3bfe7-281b-4d4c-827f-dece0fe63c5a","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"merchant\",\n        \"attributes\": {\n            \"name\": \"Apple (UK) Limited\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants","host":["https://www.appibase.com/2/api/v1"],"path":["merchants"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"merchant\",\n  \"attributes\": {\n   \"name\": \"Apple (UK) Limited\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"address\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stores\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"d6996bc9-1afb-4187-991a-5d8d9c63bd4f","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"merchant\",\n        \"attributes\": {\n            \"name\": \"Apple (UK) Limited\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants","host":["https://www.appibase.com/2/api/v1"],"path":["merchants"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"3f5455cf-8348-4298-8fd5-7dd2fed02bf1"},{"name":"get Merchants","id":"2358eb0d-4125-469e-b0a1-401dc4a214d0","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/merchants?limit=10","description":"<p>Get all merchants</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"bddbb1e6-439a-4250-8a7d-cc59c988bd79","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"eb2c465b-9a45-4567-9abb-731538ef2539","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["merchants"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"merchant\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"merchant\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"4da9ee0b-cce4-400c-b9ba-f1fa445e5255","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["merchants"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"2358eb0d-4125-469e-b0a1-401dc4a214d0"},{"name":"get Merchant","id":"12367245-ce7b-4263-b687-b1c4fe8c5859","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/merchants/:id","description":"<p>Get a merchant</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"0392d5d7-b1e1-459b-ad01-84286685b9f0","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"67ee37fb-a532-484a-ba0c-995e0393848e","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"4dd4625b-5126-4201-be3e-4a3208fb587f","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"merchant\",\n  \"attributes\": {\n   \"name\": \"Apple (UK) Limited\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"address\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stores\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"052aba72-c006-4035-ae6d-d8a37531f6d7","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"6ee0d1c7-7994-4e9f-8caa-808c461be052","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"12367245-ce7b-4263-b687-b1c4fe8c5859"},{"name":"update Merchant","id":"e6299026-a57d-409a-a72a-79808b500631","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"merchant\",\n        \"attributes\": {\n            \"name\": \"Apple (UK) Limited\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/merchants/:id","description":"<p>Update a merchant</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"77e7d1df-4896-4504-9a5d-caecab17f1aa","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"120365a9-8f4c-4c05-8006-e3d60253bfe0","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"a892a476-ec5f-4a28-9381-a017735294b9","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"merchant\",\n        \"attributes\": {\n            \"name\": \"Apple (UK) Limited\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"merchant\",\n  \"attributes\": {\n   \"name\": \"Apple (UK) Limited\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"address\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stores\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"f988e5ca-7c70-459d-a231-29d2d845bd01","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"merchant\",\n        \"attributes\": {\n            \"name\": \"Apple (UK) Limited\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"e6299026-a57d-409a-a72a-79808b500631"},{"name":"delete Merchant","id":"0627a025-e501-4aa7-89c7-d984611b58ec","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/merchants/:id","description":"<p>Delete a merchant</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"16925858-7dd9-4fef-b215-1bca3141ac95","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"90f268a4-c573-4445-8784-36dbd4fbf00a","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"38cf10b5-fdc4-40fc-a7af-89a4f151d524","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"bcf8c793-ad2f-4057-a8f5-deb94712ddfe","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:id","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"0627a025-e501-4aa7-89c7-d984611b58ec"}],"id":"b517f701-6a15-4377-9954-f4b02848e101","description":"<p>Merchants represent the store owner.</p>\n","_postman_id":"b517f701-6a15-4377-9954-f4b02848e101","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"taxes","item":[{"name":"create Tax","id":"41a1a1df-6c29-426a-b3ed-cfe8dec3e87f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tax\",\n        \"attributes\": {\n            \"name\": \"UK VAT\",\n            \"jurisdiction\": \"UK\",\n            \"code\": \"20.0 % S\",\n            \"rate\": 0.2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/taxes","description":"<p>Create a tax</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["taxes"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"acfc66f6-b4f4-413b-a4a5-c58970e97c73","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"f0d54385-e7a9-4906-a2db-03475ed18d0c","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tax\",\n        \"attributes\": {\n            \"name\": \"UK VAT\",\n            \"jurisdiction\": \"UK\",\n            \"code\": \"20.0 % S\",\n            \"rate\": 0.2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/taxes","host":["https://www.appibase.com/2/api/v1"],"path":["taxes"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"tax\",\n  \"attributes\": {\n   \"name\": \"UK VAT\",\n   \"jurisdiction\": \"UK\",\n   \"code\": \"20.0 % S\",\n   \"rate\": 0.2,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stores\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"17bb516d-f32a-4827-a8c3-7cb64c0ecac7","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tax\",\n        \"attributes\": {\n            \"name\": \"UK VAT\",\n            \"jurisdiction\": \"UK\",\n            \"code\": \"20.0 % S\",\n            \"rate\": 0.2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/taxes","host":["https://www.appibase.com/2/api/v1"],"path":["taxes"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"41a1a1df-6c29-426a-b3ed-cfe8dec3e87f"},{"name":"get Taxes","id":"e51e5a17-a3a3-4bad-81cb-60c6d3a0fddb","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/taxes?limit=10","description":"<p>Get all taxes</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["taxes"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"a7a2bc60-ce3b-491f-800b-a8769cceab4d","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"4f786dd8-f334-429d-874e-57e5b1be1c32","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["taxes"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"tax\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"tax\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"2efa88c1-6694-42d4-a9ff-a172bbf57f81","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["taxes"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"e51e5a17-a3a3-4bad-81cb-60c6d3a0fddb"},{"name":"get Tax","id":"ba17f7e7-ee49-4059-a4d7-17f4347247f9","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/taxes/:id","description":"<p>Get a tax</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["taxes",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"faa7e103-deb8-4020-a0fc-c58120ad0513","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"0238e932-5795-4390-875b-785e9a508521","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"de229102-e4c9-4cae-8e8d-e591bc8b534f","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"tax\",\n  \"attributes\": {\n   \"name\": \"UK VAT\",\n   \"jurisdiction\": \"UK\",\n   \"code\": \"20.0 % S\",\n   \"rate\": 0.2,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stores\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"638dc18f-44e8-4640-8b0b-ff3786fcd4bd","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"1425efdd-8adf-426f-808a-b037186adeba","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"ba17f7e7-ee49-4059-a4d7-17f4347247f9"},{"name":"update Tax","id":"49dbceb1-ee14-45d0-9f88-41ade058b716","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tax\",\n        \"attributes\": {\n            \"name\": \"UK VAT\",\n            \"jurisdiction\": \"UK\",\n            \"code\": \"20.0 % S\",\n            \"rate\": 0.2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/taxes/:id","description":"<p>Update a tax</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["taxes",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"41dcaac5-a97f-4122-ac12-0be9a23cfe95","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"200ec269-e818-4ad1-8508-16bf77dbb7e9","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"f7b5ac3b-527d-4e5a-aced-d8cfad92d5a0","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tax\",\n        \"attributes\": {\n            \"name\": \"UK VAT\",\n            \"jurisdiction\": \"UK\",\n            \"code\": \"20.0 % S\",\n            \"rate\": 0.2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"tax\",\n  \"attributes\": {\n   \"name\": \"UK VAT\",\n   \"jurisdiction\": \"UK\",\n   \"code\": \"20.0 % S\",\n   \"rate\": 0.2,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stores\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"b71dabdb-f953-4700-9706-93ad8d6b2a5b","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"tax\",\n        \"attributes\": {\n            \"name\": \"UK VAT\",\n            \"jurisdiction\": \"UK\",\n            \"code\": \"20.0 % S\",\n            \"rate\": 0.2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"49dbceb1-ee14-45d0-9f88-41ade058b716"},{"name":"delete Tax","id":"923f7234-bd79-4442-b39e-9308d442d025","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/taxes/:id","description":"<p>Delete a tax</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["taxes",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"24f2db9c-de9b-456d-b03a-d0933209d8ca","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"b3e8e7cf-0de0-40ac-8270-7250d820a8bf","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"de961b51-6224-49e3-b183-c7036604657b","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"459fe0e7-0a03-4281-971a-24799c16b426","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/taxes/:id","host":["https://www.appibase.com/2/api/v1"],"path":["taxes",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"923f7234-bd79-4442-b39e-9308d442d025"}],"id":"3de7abff-a96f-4d7d-8b93-858475f3cf59","description":"<p>Sales Tax.</p>\n","_postman_id":"3de7abff-a96f-4d7d-8b93-858475f3cf59","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"stores","item":[{"name":"create Store","id":"6422177d-04b0-47b2-87eb-7d47415e92cf","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"store\",\n        \"attributes\": {\n            \"name\": \"Apple Store UK\",\n            \"storefront_url\": \"https://www.apple.com/uk\"\n        },\n        \"relationships\": {\n            \"price_list\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"stock_location\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"tax\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/stores","description":"<p>Create a store</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":merchant_id","stores"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"f7a40187-62bf-4961-8a04-49911471c8ba","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"f8dff6ea-596f-4ab3-9820-1cf7c2b15f25","description":{"content":"<p>(Required) Merchant ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"merchant_id"}]}},"response":[{"id":"dc9b4f57-c752-46fc-998f-3f9d070209c2","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"store\",\n        \"attributes\": {\n            \"name\": \"Apple Store UK\",\n            \"storefront_url\": \"https://www.apple.com/uk\"\n        },\n        \"relationships\": {\n            \"price_list\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"stock_location\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"tax\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/stores","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","stores"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"store\",\n  \"attributes\": {\n   \"name\": \"Apple Store UK\",\n   \"storefront_url\": \"https://www.apple.com/uk\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"merchant\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"price_list\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"tax\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"606c86a2-1926-424f-a09e-83a800968d72","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"store\",\n        \"attributes\": {\n            \"name\": \"Apple Store UK\",\n            \"storefront_url\": \"https://www.apple.com/uk\"\n        },\n        \"relationships\": {\n            \"price_list\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"stock_location\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"tax\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/stores","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","stores"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"6422177d-04b0-47b2-87eb-7d47415e92cf"},{"name":"get Stores","id":"1536562b-eb29-490e-9fcf-f1141259c2c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/stores?limit=10","description":"<p>Get all stores</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["merchants",":merchant_id","stores"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>(Required) Merchant ID.</p>\n","type":"text/plain"},"type":"any","value":"{{merchant_id}}","key":"merchant_id"}]}},"response":[{"id":"e6089025-00a6-4ce5-9879-4ad74309f505","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/stores?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","stores"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"store\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"store\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"cc93a8a8-9826-412c-8921-ac488f13c351","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/merchants/:merchant_id/stores?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["merchants",":merchant_id","stores"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"merchant_id","value":"9873458734","description":"(Required) Merchant ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1536562b-eb29-490e-9fcf-f1141259c2c2"},{"name":"get Store","id":"5b7489f6-e73d-4971-9c3e-ae68822dfc3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stores/:id","description":"<p>Get a store</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"4a193179-b445-4fdc-89ef-70961051ac50","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"store\",\n  \"attributes\": {\n   \"name\": \"Apple Store UK\",\n   \"storefront_url\": \"https://www.apple.com/uk\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"merchant\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"price_list\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"tax\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"b035c0de-329f-4c61-addf-7f6567135bd4","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"01281202-53a0-4d11-911c-3edc7d2d2d6e","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"5b7489f6-e73d-4971-9c3e-ae68822dfc3f"},{"name":"update Store","id":"bf22a3a3-f714-4026-83e4-8a2051d28f61","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"store\",\n        \"attributes\": {\n            \"name\": \"Apple Store UK\",\n            \"storefront_url\": \"https://www.apple.com/uk\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stores/:id","description":"<p>Update a store</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"e65c2008-e066-4e4f-a9c3-addf751266bb","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"45bb521e-e40e-4a2a-a30b-cde517d0ac94","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"7c70edd7-ce33-4780-877b-8d008b9cadbd","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"store\",\n        \"attributes\": {\n            \"name\": \"Apple Store UK\",\n            \"storefront_url\": \"https://www.apple.com/uk\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"store\",\n  \"attributes\": {\n   \"name\": \"Apple Store UK\",\n   \"storefront_url\": \"https://www.apple.com/uk\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"merchant\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"price_list\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"tax\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"8ad9b906-afbc-4264-87d4-8c7f0622928c","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"store\",\n        \"attributes\": {\n            \"name\": \"Apple Store UK\",\n            \"storefront_url\": \"https://www.apple.com/uk\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"bf22a3a3-f714-4026-83e4-8a2051d28f61"},{"name":"delete Store","id":"810536f2-4cfe-4ce4-b1e2-f1260f50c29b","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/stores/:id","description":"<p>Delete a store</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"d074d522-c671-4a51-b2c7-1b2affc1c8ec","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"1a1943ab-ff6d-4894-9939-05afe387c12e","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"627de890-6a6d-467b-8e28-31824d647586","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"94a3ced1-91cf-4658-a230-16a951cc95d3","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"810536f2-4cfe-4ce4-b1e2-f1260f50c29b"},{"name":"get Store Products","id":"cf4dee3f-d05b-4c59-8f3e-8bc088df12b8","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stores/:store_id/products?limit=10","description":"<p>Get all store products</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":store_id","products"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"5fc9d16f-2473-4493-a0c0-05f8dae73ca0","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"89d1e43b-6405-4ca9-9dca-2cc27de42518","description":{"content":"<p>(Required) Store ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"store_id"}]}},"response":[{"id":"76621cda-d737-4b99-8678-4e286bd1f5a6","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/products?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","products"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"86dca84e-e50c-4479-8983-bd12d48c990e","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/products?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","products"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"cf4dee3f-d05b-4c59-8f3e-8bc088df12b8"}],"id":"5f6378a5-af24-48a4-849a-7c66c6affb2e","description":"<p>A store is associated with a merchant, inventory, price list and sales tax.</p>\n","_postman_id":"5f6378a5-af24-48a4-849a-7c66c6affb2e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"collections","item":[{"name":"create Collection","id":"e26c7e7b-83e9-409c-a500-f70014feb8ec","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"iPhone Accessories\",\n            \"description\": \"iPhone Accessories collection\",\n            \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections","description":"<p>Create a collection</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"3bf041fd-07ec-46bb-88c0-86ac8a0119ee","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"dc8b9648-ed9f-40af-bb14-8e698fe665c5","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"iPhone Accessories\",\n            \"description\": \"iPhone Accessories collection\",\n            \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections","host":["https://www.appibase.com/2/api/v1"],"path":["collections"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"collection\",\n  \"attributes\": {\n   \"name\": \"iPhone Accessories\",\n   \"description\": \"iPhone Accessories collection\",\n   \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n   \"is_parent\": true,\n   \"active\": true,\n   \"livemode\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"products\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"2c7591b7-d3af-45ce-a335-558bd3e22053","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"iPhone Accessories\",\n            \"description\": \"iPhone Accessories collection\",\n            \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections","host":["https://www.appibase.com/2/api/v1"],"path":["collections"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"e26c7e7b-83e9-409c-a500-f70014feb8ec"},{"name":"get Collections","id":"96284588-6bfd-4b35-8d49-b450c37b0a32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/collections","description":"<p>Get all collections</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"cb78a553-c8a0-456a-bc37-f72f21c5fe51","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"6b8493ac-d26d-4a68-b2e9-c1240f8a9d7b","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["collections"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"collection\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"collection\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"b3145eee-fa4e-45ce-b07d-4bd729b362d7","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["collections"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"96284588-6bfd-4b35-8d49-b450c37b0a32"},{"name":"get Collection","id":"85e10de6-45e2-43da-a089-ab296994a9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/collections/:id","description":"<p>Get a collection</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{collection_id}}","key":"id"}]}},"response":[{"id":"e1cca2d7-dfa5-431a-bc39-f5ccf3e70002","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"collection\",\n  \"attributes\": {\n   \"name\": \"iPhone Accessories\",\n   \"description\": \"iPhone Accessories collection\",\n   \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n   \"is_parent\": true,\n   \"active\": true,\n   \"livemode\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"products\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"1c23f45f-ae58-4e0f-9eee-6cc76d33e395","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"f718d993-c049-4f76-9e4d-db95f46fbb93","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"85e10de6-45e2-43da-a089-ab296994a9b2"},{"name":"update Collection","id":"c9069bfc-2aea-4f13-8468-b9f3791c1ed1","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"iPhone Accessories\",\n            \"description\": \"iPhone Accessories collection\",\n            \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections/:id","description":"<p>Update a collection</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"0df636f5-08ac-4897-ae16-ed88a444ab82","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"f597eda7-dd55-47e2-bd37-a03bd471e4cd","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"e8d1a061-9dfc-4004-afad-e16ad5ebbf6d","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"iPhone Accessories\",\n            \"description\": \"iPhone Accessories collection\",\n            \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"collection\",\n  \"attributes\": {\n   \"name\": \"iPhone Accessories\",\n   \"description\": \"iPhone Accessories collection\",\n   \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n   \"is_parent\": true,\n   \"active\": true,\n   \"livemode\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"products\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"3e171525-a228-4102-8161-8197eec974ae","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"collection\",\n        \"attributes\": {\n            \"name\": \"iPhone Accessories\",\n            \"description\": \"iPhone Accessories collection\",\n            \"image_url\": \"https://res.cloudinary.com/mrabetr/image/upload/v1626448045/samples/ecommerce/iPhone_accessories_wvv1m6.jpg\",\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c9069bfc-2aea-4f13-8468-b9f3791c1ed1"},{"name":"delete Collection","id":"5c8ad7f0-2236-4d94-a2ba-f4891b5ac4f8","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/collections/:id","description":"<p>Delete a collection</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"fafb922c-b326-4ea0-939e-e19a240e8095","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"3ee3bc63-2f65-488d-a39f-012e8324edcb","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"49ef5172-a1e7-40d1-b6bc-23ce99cbbd78","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a1da988f-cc59-488d-a5d7-ab87ded69d2c","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:id","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"5c8ad7f0-2236-4d94-a2ba-f4891b5ac4f8"}],"id":"43989562-0da6-4f72-8f95-d3e483cfcd33","description":"<p>A collections is a grouping of products to create catalogs.</p>\n","_postman_id":"43989562-0da6-4f72-8f95-d3e483cfcd33","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"collection relationships","item":[{"name":"get Collection Parent","id":"2f80dc83-dd72-419c-8d82-c7f2f8c77956","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/parent","description":"<p>Get the parent collection</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","parent"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"f3600d34-8320-4c58-91b2-421810103a4d","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"a66dffe6-cb34-4968-b8e9-14bd29fba6d4","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"1aeebf0c-cf43-46b0-8839-14185129d45d","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/parent","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"collection\",\n  \"attributes\": {\n   \"name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"description\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"image_url\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"is_parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"active\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"livemode\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"products\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"0600dbaf-edc3-4dba-95ca-220c37d045eb","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/parent","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"2f80dc83-dd72-419c-8d82-c7f2f8c77956"},{"name":"update Collection Parent","id":"916b0f83-703e-45ad-80f0-88cba8bfb3d3","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"id\": 9873458734,\n        \"type\": \"collection\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/parent","description":"<p>Update the parent collection</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","relationships","parent"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"2d322a11-e66d-43ad-9422-fa5eadbe17fa","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"ae752361-5b70-412c-8fb9-b63c5c33d5ee","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"d8f29380-d620-4dd6-afdf-b6bfd6354571","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"id\": 9873458734,\n        \"type\": \"collection\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/parent","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"collection\",\n  \"attributes\": {\n   \"name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"description\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"image_url\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"is_parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"active\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"livemode\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"products\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"1835150b-4bb7-4fc7-9171-36ab711554b8","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"id\": 9873458734,\n        \"type\": \"collection\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/parent","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"916b0f83-703e-45ad-80f0-88cba8bfb3d3"},{"name":"get Collection Children","id":"52faed8f-fa9a-4bf0-822b-6369049b7122","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/children","description":"<p>Get all child collections</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","children"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"87e32dea-e90e-4a7a-b99c-539e28f39170","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"12e8bc6b-fed0-4ea8-99cc-7863b012acc4","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"ce21003f-e7be-415c-80d5-d0d18ad11f63","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/children","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"collection\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"collection\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"1d501f30-9b01-4bd0-8f2e-85f28d7350eb","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/children","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"52faed8f-fa9a-4bf0-822b-6369049b7122"},{"name":"update Collection Children","id":"821ac833-c3a8-4aaf-bd19-39f0be767b80","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"collection\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"collection\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/children","description":"<p>Update children collections</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","relationships","children"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"ef5fac71-c179-449c-9535-b002989d1144","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"25e341ab-3df1-421c-bd31-ff46a4172b0e","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"2cd2be60-8a56-4a95-9947-ce1e6f34a6f6","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"collection\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"collection\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/children","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"collection\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"collection\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"0dcd555f-92a0-4aff-a7cc-c6921e222302","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"collection\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"collection\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/children","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"821ac833-c3a8-4aaf-bd19-39f0be767b80"},{"name":"get Collection Products","id":"bfe6b4ea-da51-4dbf-ba41-c51e0fdcc132","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/products","description":"<p>Get all collection products</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","products"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"type":"any","value":"{{collection_id}}","key":"collection_id"}]}},"response":[{"id":"7a9c9ce0-8a96-472e-8bf2-d44ccd544436","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/products?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","products"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"c5c4c861-98fa-47df-a1ef-e142be239b4b","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/products?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","products"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"bfe6b4ea-da51-4dbf-ba41-c51e0fdcc132"},{"name":"create Collection Products","id":"708af8e8-02bc-4120-8cd8-4f1f0681fe20","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","description":"<p>Add collection products</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","relationships","products"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"4c635769-8261-42c9-81d3-d6020ce0d0cb","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"aaabce43-0e42-4d17-8f13-ce7fe52c8da5","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"6d68625b-adff-4694-b84e-69d48752c056","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"a4b3878c-0c32-4a03-9954-43c12e830124","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"708af8e8-02bc-4120-8cd8-4f1f0681fe20"},{"name":"update Collection Products","id":"285e0264-75e1-420e-8a84-e3534df791cb","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","description":"<p>Update all collection products (full replacement)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","relationships","products"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"63cee00e-c427-40e0-bac1-fdc40a1d5d52","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"20d2e69b-546c-4d8a-be80-6224a59bb603","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"83512999-85b8-44f8-bb02-1527cf1c8806","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"a572115c-53d1-4725-85f5-e678fd61c8fd","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"285e0264-75e1-420e-8a84-e3534df791cb"},{"name":"delete Collection Products","id":"9c2e7455-aea6-42f9-857b-85bfe599c46d","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","description":"<p>Remove collection products</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["collections",":collection_id","relationships","products"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"4cbeda43-94aa-4f9b-be18-f627640bb4bf","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"63a563d9-4750-4444-b852-b495fd0319ca","description":{"content":"<p>(Required) Collection ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"collection_id"}]}},"response":[{"id":"91f7004a-f5b2-4ba9-b98b-325ea65b69e1","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"595db5c3-5752-4a1d-911f-68cf9891f444","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/collections/:collection_id/relationships/products","host":["https://www.appibase.com/2/api/v1"],"path":["collections",":collection_id","relationships","products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"collection_id","value":"9873458734","description":"(Required) Collection ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"9c2e7455-aea6-42f9-857b-85bfe599c46d"}],"id":"e654a666-75f1-4a2d-b2e6-b2a5b9f22cb1","description":"<p>Collection relationships.</p>\n","_postman_id":"e654a666-75f1-4a2d-b2e6-b2a5b9f22cb1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"products","item":[{"name":"create Product","id":"c338f53d-9930-4478-8709-8f89737204c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"product\",\n    \"attributes\": {\n      \"name\": \"iPhone 12 64GB Black\",\n      \"sku\": \"iphone-12-64gb-black\",\n      \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n      \"category\": \"iPhone\",\n      \"vendor\": \"Apple\",\n      \"tags\": [\n        \"5G\",\n        \"A14 Bionic\",\n        \"OLED\"\n      ],\n      \"image_urls\": [\n        \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n      ],\n      \"is_parent\": false,\n      \"active\": true,\n      \"livemode\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products","description":"<p>Create a product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"31fbbf0e-09f5-4c28-b410-95519629fe28","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"e693895c-ff3b-48ad-8ce7-938630d10574","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"product\",\n        \"attributes\": {\n            \"name\": \"iPhone 12 64GB Blue\",\n            \"sku\": \"iphone-12-64gb-blue\",\n            \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n            \"category\": \"iPhone\",\n            \"vendor\": \"Apple\",\n            \"tags\": [\n                \"5G\",\n                \"A14 Bionic\",\n                \"OLED\"\n            ],\n            \"image_urls\": [\n                \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n            ],\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products","host":["https://www.appibase.com/2/api/v1"],"path":["products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"product\",\n  \"attributes\": {\n   \"name\": \"iPhone 12 64GB Blue\",\n   \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n   \"sku\": \"iphone-12-64gb-blue\",\n   \"category\": \"iPhone\",\n   \"vendor\": \"Apple\",\n   \"tags\": [\n    \"5G\",\n    \"A14 Bionic\",\n    \"OLED\"\n   ],\n   \"image_urls\": [\n    \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n   ],\n   \"is_parent\": true,\n   \"active\": true,\n   \"livemode\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"variations\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"options\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"f9eff148-7f4d-4658-8342-b52cec315543","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"product\",\n        \"attributes\": {\n            \"name\": \"iPhone 12 64GB Blue\",\n            \"sku\": \"iphone-12-64gb-blue\",\n            \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n            \"category\": \"iPhone\",\n            \"vendor\": \"Apple\",\n            \"tags\": [\n                \"5G\",\n                \"A14 Bionic\",\n                \"OLED\"\n            ],\n            \"image_urls\": [\n                \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n            ],\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products","host":["https://www.appibase.com/2/api/v1"],"path":["products"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c338f53d-9930-4478-8709-8f89737204c9"},{"name":"get Products","id":"2a145d3f-12af-44af-9807-562dd2f1dad5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token_client}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Origin","value":"https://commerce-appibase-six.vercel.app","type":"text"},{"key":"Access-Control-Request-Method","value":"GET","type":"text"},{"key":"Access-Control-Request-Headers","value":"Origin","type":"text"},{"key":"Accept","value":"application/vnd.api+json","type":"text"}],"url":"https://www.appibase.com/2/api/v1/products?filter[is_parent_true]=false&filter[collections_slug_eq]=iphone","description":"<p>Get all products</p>\n","urlObject":{"path":["products"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"key":"filter[is_parent_true]","value":"false"},{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"key":"filter[collections_slug_eq]","value":"iphone"}],"variable":[]}},"response":[{"id":"d090f263-5db6-40b9-bf25-18d5b2942535","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"efbf73fa-602c-48ef-8907-cdd1d251218b","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"2a145d3f-12af-44af-9807-562dd2f1dad5"},{"name":"get Product","id":"35f694b0-feec-4d09-8362-e7d694c7950a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token_client}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:id","description":"<p>Get a product</p>\n","urlObject":{"path":["products",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"key":"include","value":"variations"}],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{product_id}}","key":"id"}]}},"response":[{"id":"786967e3-107c-4e8a-9d0f-36c44a38b98e","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"product\",\n  \"attributes\": {\n   \"name\": \"iPhone 12 64GB Blue\",\n   \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n   \"sku\": \"iphone-12-64gb-blue\",\n   \"category\": \"iPhone\",\n   \"vendor\": \"Apple\",\n   \"tags\": [\n    \"5G\",\n    \"A14 Bionic\",\n    \"OLED\"\n   ],\n   \"image_urls\": [\n    \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n   ],\n   \"is_parent\": true,\n   \"active\": true,\n   \"livemode\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"variations\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"options\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"e699bdfc-d01d-458c-a5f7-dfe4ce54260e","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"1864b244-e52d-4483-aabc-55061c48a382","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"35f694b0-feec-4d09-8362-e7d694c7950a"},{"name":"update Product","id":"a064f989-22aa-4c0b-ba76-25eff819903f","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"product\",\n        \"attributes\": {\n            \"name\": \"iPhone 12 64GB Blue\",\n            \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n            \"sku\": \"iphone-12-64gb-blue\",\n            \"category\": \"iPhone\",\n            \"vendor\": \"Apple\",\n            \"tags\": [\n                \"5G\",\n                \"A14 Bionic\",\n                \"OLED\"\n            ],\n            \"image_urls\": [\n                \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n            ],\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:id","description":"<p>Update a product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"be3b1ff5-b227-4664-bc66-d9d3119a80f2","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"8a1ba8cb-d789-457e-9560-a5135b727919","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"f5a244f1-605f-4dd8-8b02-c6915eaedb36","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"product\",\n        \"attributes\": {\n            \"name\": \"iPhone 12 64GB Blue\",\n            \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n            \"sku\": \"iphone-12-64gb-blue\",\n            \"category\": \"iPhone\",\n            \"vendor\": \"Apple\",\n            \"tags\": [\n                \"5G\",\n                \"A14 Bionic\",\n                \"OLED\"\n            ],\n            \"image_urls\": [\n                \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n            ],\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"product\",\n  \"attributes\": {\n   \"name\": \"iPhone 12 64GB Blue\",\n   \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n   \"sku\": \"iphone-12-64gb-blue\",\n   \"category\": \"iPhone\",\n   \"vendor\": \"Apple\",\n   \"tags\": [\n    \"5G\",\n    \"A14 Bionic\",\n    \"OLED\"\n   ],\n   \"image_urls\": [\n    \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n   ],\n   \"is_parent\": true,\n   \"active\": true,\n   \"livemode\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"variations\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"options\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"ed7ae558-174b-4d6f-82fc-dc0116edda02","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"product\",\n        \"attributes\": {\n            \"name\": \"iPhone 12 64GB Blue\",\n            \"description\": \"5G speed. A14 Bionic, the fastest chip in a smart­phone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes.\",\n            \"sku\": \"iphone-12-64gb-blue\",\n            \"category\": \"iPhone\",\n            \"vendor\": \"Apple\",\n            \"tags\": [\n                \"5G\",\n                \"A14 Bionic\",\n                \"OLED\"\n            ],\n            \"image_urls\": [\n                \"https://res.cloudinary.com/mrabetr/image/upload/v1626443073/samples/ecommerce/iphone-12-family-select-2021_l6npo2.jpg\"\n            ],\n            \"is_parent\": true,\n            \"active\": true,\n            \"livemode\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"a064f989-22aa-4c0b-ba76-25eff819903f"},{"name":"delete Product","id":"92a2f5c5-b3c3-49c6-8e1e-66a8c6ca0596","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/products/:id","description":"<p>Delete a product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"59d102c0-93b0-4770-b0ca-b1254a2d36d6","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"d28c532d-396c-4f25-a996-c568ae156268","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"fbcaba0c-8a30-4226-b65e-4074af7ac716","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"76089668-56fe-413e-a33b-3ae39391ba89","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:id","host":["https://www.appibase.com/2/api/v1"],"path":["products",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"92a2f5c5-b3c3-49c6-8e1e-66a8c6ca0596"}],"id":"f54e610a-e81f-4160-ab2e-34b6ec5dfb71","description":"<p>Products are the individual items and services for sale in the store.</p>\n","_postman_id":"f54e610a-e81f-4160-ab2e-34b6ec5dfb71","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"product relationships","item":[{"name":"get Product Parent","id":"74980c56-5757-424e-af4b-4a42b820e83b","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/parent","description":"<p>Get the parent product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","parent"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"31f0acae-416a-4fb0-b3cf-d832f372bd76","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"540d85cd-a2c8-4713-9c64-26c7fd52df39","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"e45a3837-ec22-47e0-abd6-e521798029c1","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/parent","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"product\",\n  \"attributes\": {\n   \"name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"description\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"sku\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"category\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"vendor\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tags\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"image_urls\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"is_parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"active\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"livemode\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"variations\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"options\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"635585dc-2fe5-43a3-a01c-ca755edf7b4d","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/parent","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"74980c56-5757-424e-af4b-4a42b820e83b"},{"name":"update Product Parent","id":"83ab3e46-d7ba-4652-94b6-5548ba8415e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"type\": \"product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/parent","description":"<p>Update the parent product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","parent"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"22","key":"product_id"}]}},"response":[{"id":"ce15b07b-e3c1-4283-9630-d56c16b4f300","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"id\": 9873458734,\n        \"type\": \"product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/parent","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"product\",\n  \"attributes\": {\n   \"name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"description\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"sku\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"category\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"vendor\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tags\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"image_urls\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"is_parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"active\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"livemode\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"parent\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"children\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"variations\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"options\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"299d72e6-4e1d-464d-8393-f6ab58eae9e6","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"id\": 9873458734,\n        \"type\": \"product\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/parent","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","parent"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"83ab3e46-d7ba-4652-94b6-5548ba8415e9"},{"name":"get Product Children","id":"4e95e6d7-99de-4ba8-a9a8-3c00db88b1b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/children?filter[options_name_eq]=Yellow","description":"<p>Get all child products</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","children"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"key":"filter[options_name_eq]","value":"Yellow"}],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"{{product_id_parent}}","key":"product_id"}]}},"response":[{"id":"2860f94c-16dc-47c4-a01d-1e358a7827d9","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/children","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"b1ba5422-86e9-43fe-b28c-187eba07bf33","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/children","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"4e95e6d7-99de-4ba8-a9a8-3c00db88b1b1"},{"name":"update Product Children","id":"09f81582-96e4-4d9c-86b5-10fbfddf2adc","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/children","description":"<p>Update children products</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","children"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"9bca3d8a-8d5d-421f-bc61-c867d55dcc39","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"8150a07c-5cfc-486a-bb14-b818d15fc5a2","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"3cefa48a-a0ff-4988-9e39-288470960fda","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/children","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"product\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"8c8f374d-54b7-4422-9fe8-b1a8d41a6daa","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"product\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/children","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","children"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"09f81582-96e4-4d9c-86b5-10fbfddf2adc"},{"name":"get Product Variation Options","id":"69381a33-b4e1-4c96-b709-8f071a060288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/variation_options","description":"<p>Get all product options</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","variation_options"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"06c86934-27e2-400b-b32c-6116d9d37391","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/variation_options?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","variation_options"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"dfbb45f0-a434-4d31-afcf-f67b4143cfe6","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/variation_options?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","variation_options"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"69381a33-b4e1-4c96-b709-8f071a060288"},{"name":"create Product Variation Options","id":"08da09eb-9f73-45bd-801b-5b03c5376283","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"id\": \"12\",\n      \"type\": \"variation_option\"\n    },\n    {\n      \"id\": \"13\",\n      \"type\": \"variation_option\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","description":"<p>Add product variation options</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","variation_options"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"93ea3cf4-eb6d-4267-933c-e88f8cc19ff0","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"c6e914ab-a31e-4bbb-9fee-742e1f2b2225","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"08da09eb-9f73-45bd-801b-5b03c5376283"},{"name":"update Product Variation Options","id":"1b7e36c2-e0ae-4c4e-8e17-d471c5f8706f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"id\": \"24\",\n      \"type\": \"variation_option\"\n    },\n    {\n      \"id\": \"25\",\n      \"type\": \"variation_option\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","description":"<p>Update all product variation options (full replacement)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","variation_options"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"26","key":"product_id"}]}},"response":[{"id":"7f439d03-e698-4542-a0b1-49ab6c394246","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"72792220-1aa1-4f82-9fcb-b6ccd2eeb85b","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1b7e36c2-e0ae-4c4e-8e17-d471c5f8706f"},{"name":"delete Product Variation Options","id":"0b7a5ac2-7743-496c-8472-35fa405bdcc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": [\n    {\n      \"id\": \"12\",\n      \"type\": \"variation_option\"\n    },\n    {\n      \"id\": \"13\",\n      \"type\": \"variation_option\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","description":"<p>Remove product variation options</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","variation_options"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"84e9a500-c997-4289-a1e7-e4a2340f75d1","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"8cabe809-68a8-4808-93af-e405488016ff","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation_option\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"0b7a5ac2-7743-496c-8472-35fa405bdcc5"},{"name":"get Product Variations","id":"304fed61-3de7-4bfe-8409-727bb44cbae2","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/variations?limit=10","description":"<p>Get all product variations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","variations"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"3807422b-aaf1-435d-af4b-b9decb49ef0e","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"224ed887-6a12-447e-b02a-234fbcab6487","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"ab5d0cee-55a6-49db-afbb-8580e01e0f30","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/variations?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","variations"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"ddc30e7a-b8c7-4497-ba86-131f75f716e9","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/variations?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","variations"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"304fed61-3de7-4bfe-8409-727bb44cbae2"},{"name":"create Product Variations","id":"c027d292-c159-45c4-b8df-8005256f6bda","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","description":"<p>Add product variations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","variations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"fd9714a5-593f-4021-a2d4-34a98bbf0842","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"57fffca1-0288-4060-9668-40e15eabb814","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"3a9f83a0-8be0-405b-af75-6e1ad288442d","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"2ec91c91-1783-4de0-b12a-3ff1d59c557a","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c027d292-c159-45c4-b8df-8005256f6bda"},{"name":"update Product Variations","id":"ced3337d-47f1-488f-a1ea-ff51fa0db86a","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","description":"<p>Update all product variations (full replacement)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","variations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"d839a8b3-f876-4f1c-b0df-2030852256b6","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"fd1ae290-2be3-4e80-8ca7-785159f87932","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"c6470c30-b678-44f4-8906-979428037bb4","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"07043f0b-4822-451e-b95e-0599f18eb31d","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"ced3337d-47f1-488f-a1ea-ff51fa0db86a"},{"name":"delete Product Variations","id":"88a0987c-deb5-475f-b1b2-e661d1916942","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","description":"<p>Remove product variations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","relationships","variations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"2e22d7e4-929f-4180-a083-2b410ba638e5","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"75baa2df-0413-429e-89bf-f5f4bece9349","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"0c2492d9-fdca-4559-8bc2-f668b8fd0584","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"eea627b1-0b51-481b-a9f9-ab8e5910d137","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": [\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        },\n        {\n            \"id\": 9873458734,\n            \"type\": \"variation\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/relationships/variations","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","relationships","variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"88a0987c-deb5-475f-b1b2-e661d1916942"},{"name":"get Product Prices","id":"32d8b81e-baff-424d-9880-8b1fddbf5f39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/prices?filter[price_list_id_eq]=1","description":"<p>Get all product prices</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","prices"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"key":"filter[price_list_id_eq]","value":"1"}],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"5","key":"product_id"}]}},"response":[{"id":"ab4befee-ddd4-4066-b8a2-2f1807b44a97","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/prices?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","prices"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"cbdffc3c-27cd-4d61-81f7-4f3ffefe0dab","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/prices?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","prices"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"32d8b81e-baff-424d-9880-8b1fddbf5f39"},{"name":"get Product Stock Items","id":"50b706dd-ed69-4705-9b3b-66e8d0b748e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token_client}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/stock_items?filter[stock_location_id_eq]=1","description":"<p>Get all product prices</p>\n","urlObject":{"path":["products",":product_id","stock_items"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"key":"filter[stock_location_id_eq]","value":"1"}],"variable":[{"description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"{{product_id}}","key":"product_id"}]}},"response":[{"id":"b8813fb6-ecdd-4cce-96c7-3fdacd3e0ace","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/prices?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","prices"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"fdd3cbea-5c91-43ce-b34b-d4081a822db2","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/prices?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","prices"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"50b706dd-ed69-4705-9b3b-66e8d0b748e6"},{"name":"get Product Price Lists","id":"31abca66-7c2e-4eb2-8893-969d93c9c7da","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/products/:product_id/price_lists?limit=10","description":"<p>Get all product price lists</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["products",":product_id","price_lists"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"31294853-1c62-480f-9f68-b1775426a195","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"c31b8875-0ff4-4c52-8e74-97374f004751","description":{"content":"<p>(Required) Product ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"product_id"}]}},"response":[{"id":"104a5569-dc77-4a89-bc8c-91261c39b888","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/price_lists?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","price_lists"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price_list\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price_list\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"1d64b572-327d-4192-af21-b6b26939778b","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/products/:product_id/price_lists?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["products",":product_id","price_lists"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"product_id","value":"9873458734","description":"(Required) Product ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"31abca66-7c2e-4eb2-8893-969d93c9c7da"}],"id":"518661a7-aaf8-49f9-b9f5-7d4b2776381b","description":"<p>Product relationships.</p>\n","_postman_id":"518661a7-aaf8-49f9-b9f5-7d4b2776381b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"variations","item":[{"name":"create Variation","id":"f212dded-04ed-48da-9ec7-ab73354cde10","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation\",\n        \"attributes\": {\n            \"name\": \"Color\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/variations","description":"<p>Create a variation</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"374f3597-bc1c-44c8-923b-c71a6384bdc7","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"5cf2cb40-1d74-4d52-af08-31cc6040f2b7","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation\",\n        \"attributes\": {\n            \"name\": \"Color\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variations","host":["https://www.appibase.com/2/api/v1"],"path":["variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"variation\",\n  \"attributes\": {\n   \"name\": \"Color\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"options\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"39611c42-175e-4457-b87b-1abe816a098a","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation\",\n        \"attributes\": {\n            \"name\": \"Color\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variations","host":["https://www.appibase.com/2/api/v1"],"path":["variations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f212dded-04ed-48da-9ec7-ab73354cde10"},{"name":"get Variations","id":"ea471795-f222-4650-9455-834271109020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/variations","description":"<p>Get all variations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"b336e39b-85ed-44c2-9df9-b5640727550a","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"5a76cfcd-9cae-4d12-ad71-1babd8fd7f93","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["variations"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"c6341436-e8da-46e3-8752-1eb7a227a03e","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["variations"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"ea471795-f222-4650-9455-834271109020"},{"name":"get Variation","id":"cf175dba-40c2-4a42-92af-6e7f287a2618","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/variations/:id","description":"<p>Get a variation</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{variation_id}}","key":"id"}]}},"response":[{"id":"153ee93f-50c3-4c84-bdd8-8e6502f0ef23","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"variation\",\n  \"attributes\": {\n   \"name\": \"Color\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"options\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"5e6d8c92-eaa6-411c-a2ca-9fb5dc8ff3ae","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"371191e3-72f2-4f60-86b1-1456b8bcdf16","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"cf175dba-40c2-4a42-92af-6e7f287a2618"},{"name":"update Variation","id":"67d24ca2-c78a-4ab3-91fe-fb421cbf42a9","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation\",\n        \"attributes\": {\n            \"name\": \"Color\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/variations/:id","description":"<p>Update a variation</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"761b0db0-d30d-4ae1-bfaa-8dc763a59634","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"d738eb35-63e3-4134-9765-6cf2a691831c","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"22386e9c-41f5-42a1-9a99-4ae8037b11d2","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation\",\n        \"attributes\": {\n            \"name\": \"Color\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"variation\",\n  \"attributes\": {\n   \"name\": \"Color\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"options\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"5106c03f-a8c9-498b-99a6-ce778f8dcd2c","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation\",\n        \"attributes\": {\n            \"name\": \"Color\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"67d24ca2-c78a-4ab3-91fe-fb421cbf42a9"},{"name":"delete Variation","id":"3e0442b9-268a-41a0-af1d-54792f716071","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/variations/:id","description":"<p>Delete a variation</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"b8e5cab2-9412-41d4-b3b3-3896bc4f8b8f","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"0d694288-88a4-40af-9fd9-d74f3d097586","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"cc0e3256-2136-4bfb-8b7b-788cfb22c2b8","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"5f15b08e-781c-497f-91e8-240a6fa6497a","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"3e0442b9-268a-41a0-af1d-54792f716071"},{"name":"create Variation Option","id":"a2917815-b078-4a4d-b0f8-9a33093cc2a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation_option\",\n        \"attributes\": {\n            \"name\": \"Yellow\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/variations/:variation_id/variation_options","description":"<p>Create a variation option</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations",":variation_id","variation_options"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Variation ID.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"variation_id"}]}},"response":[{"id":"cef4ace0-9377-47ad-b7e0-a7384af65172","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation_option\",\n        \"attributes\": {\n            \"name\": \"Blue\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:variation_id/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":variation_id","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"variation_id","value":"9873458734","description":"(Required) Variation ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"variation_option\",\n  \"attributes\": {\n   \"name\": \"Blue\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  }\n }\n}"},{"id":"214f3b10-77cf-4f91-87a7-538150ac6fd5","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation_option\",\n        \"attributes\": {\n            \"name\": \"Blue\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:variation_id/variation_options","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":variation_id","variation_options"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"variation_id","value":"9873458734","description":"(Required) Variation ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"a2917815-b078-4a4d-b0f8-9a33093cc2a8"},{"name":"get Variation Options","id":"adc8b3bf-cd96-4c81-9ec3-8feda7d440c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/variations/:variation_id/variation_options","description":"<p>Get all variation options</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variations",":variation_id","variation_options"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>(Required) Variation ID.</p>\n","type":"text/plain"},"type":"any","value":"{{variation_id}}","key":"variation_id"}]}},"response":[{"id":"0d59efda-865a-4891-9228-94bac279fddc","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:variation_id/variation_options?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":variation_id","variation_options"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"variation_id","value":"9873458734","description":"(Required) Variation ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"variation_option\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"c6ef932b-8d89-49cf-b8d5-661f75150bc9","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variations/:variation_id/variation_options?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["variations",":variation_id","variation_options"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"variation_id","value":"9873458734","description":"(Required) Variation ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"adc8b3bf-cd96-4c81-9ec3-8feda7d440c6"},{"name":"update Variation Option","id":"b71bead5-0c55-46c4-b74e-98bcf8dda787","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation_option\",\n        \"attributes\": {\n            \"name\": \"Blue\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/variation_options/:id","description":"<p>Update a variation option</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variation_options",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"c307fd91-f7a9-4abc-818a-7af501b5c83d","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"1667a1f7-c40c-4b80-aa55-14dfdbfdfbd4","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"f2cba245-f43a-4503-8f3f-1f4c73dfa808","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation_option\",\n        \"attributes\": {\n            \"name\": \"Blue\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variation_options/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variation_options",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"variation_option\",\n  \"attributes\": {\n   \"name\": \"Blue\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  }\n }\n}"},{"id":"325260b6-8583-49e0-93e0-3b068aef6fc5","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"variation_option\",\n        \"attributes\": {\n            \"name\": \"Blue\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/variation_options/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variation_options",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"b71bead5-0c55-46c4-b74e-98bcf8dda787"},{"name":"delete Variation Option","id":"c3140d19-2c0f-4e17-8b68-f6135be6d1dd","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/variation_options/:id","description":"<p>Delete a variation option</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["variation_options",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"e8c84cfd-1830-4261-a072-06cb6fc9c49c","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"3f36005d-7fa2-4ceb-9162-34d07fc7452c","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"8fd96ef5-4c9e-426b-95c4-726f977b65b4","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variation_options/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variation_options",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"98e8bcdc-0da2-49aa-8562-70058a7dafc3","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/variation_options/:id","host":["https://www.appibase.com/2/api/v1"],"path":["variation_options",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c3140d19-2c0f-4e17-8b68-f6135be6d1dd"}],"id":"2b7032e6-8654-430c-adfa-11edb7212520","description":"<p>Variations.</p>\n","_postman_id":"2b7032e6-8654-430c-adfa-11edb7212520","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"prices","item":[{"name":"create Price List","id":"ab8ac1c5-e872-4dfd-9862-9ac57756ca8c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price_list\",\n        \"attributes\": {\n            \"name\": \"UK Price List\",\n            \"description\": \"UK GBP prices\",\n            \"currency\": \"GBP\",\n            \"tax_incl\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/price_lists","description":"<p>Create a price list</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"982a8e9f-8343-415f-bb48-3b4af6f8a4f7","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"38ef968d-ceab-4ef6-ad7d-42c9537b5dc3","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price_list\",\n        \"attributes\": {\n            \"name\": \"UK Price List\",\n            \"description\": \"UK GBP prices\",\n            \"currency\": \"GBP\",\n            \"tax_incl\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"price_list\",\n  \"attributes\": {\n   \"name\": \"UK Price List\",\n   \"description\": \"UK GBP prices\",\n   \"currency\": \"GBP\",\n   \"tax_incl\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"prices\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"6e0d3c8d-40fa-455b-9dba-7e451cef43bb","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price_list\",\n        \"attributes\": {\n            \"name\": \"UK Price List\",\n            \"description\": \"UK GBP prices\",\n            \"currency\": \"GBP\",\n            \"tax_incl\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"ab8ac1c5-e872-4dfd-9862-9ac57756ca8c"},{"name":"get Price Lists","id":"f8509f9f-515a-4816-8c81-37acdf45a69f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/price_lists","description":"<p>Get all price lists</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"52867104-b7bf-49ed-9693-c1fa6b2f9ecb","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"68d6d742-6ec0-4125-ba96-0a193dad9e52","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price_list\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price_list\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"1e511f86-0d01-4d20-af29-794a1430a3e7","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f8509f9f-515a-4816-8c81-37acdf45a69f"},{"name":"get Price List","id":"cd49bae3-d387-4753-a613-dc1c7c0eef5a","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/price_lists/:id","description":"<p>Get a price list</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"8fac4daf-5d11-4e55-b02c-cf4cc391b1dd","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"0ef7850c-e021-4e45-91af-75aba616e426","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"b0ad309d-0358-414c-a017-8428375c99ff","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"price_list\",\n  \"attributes\": {\n   \"name\": \"UK Price List\",\n   \"description\": \"UK GBP prices\",\n   \"currency\": \"GBP\",\n   \"tax_incl\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"prices\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"df0f1ae6-3b60-48c9-8dc2-1e280faa2fe0","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"1d48e608-cba1-4999-8705-63f252f0c261","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"cd49bae3-d387-4753-a613-dc1c7c0eef5a"},{"name":"update Price List","id":"2f0e6ac9-ea66-4248-99bd-3771ba8838d4","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price_list\",\n        \"attributes\": {\n            \"name\": \"UK Price List\",\n            \"description\": \"UK GBP prices\",\n            \"currency\": \"GBP\",\n            \"tax_incl\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/price_lists/:id","description":"<p>Update a price list</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"ac4f8ec4-b81e-403e-9675-226d2c4f4f19","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"80ba477f-5919-4c32-a875-45417ccf936b","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"75ab0543-7c3c-4cfd-b007-22ecaceb5c24","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price_list\",\n        \"attributes\": {\n            \"name\": \"UK Price List\",\n            \"description\": \"UK GBP prices\",\n            \"currency\": \"GBP\",\n            \"tax_incl\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"price_list\",\n  \"attributes\": {\n   \"name\": \"UK Price List\",\n   \"description\": \"UK GBP prices\",\n   \"currency\": \"GBP\",\n   \"tax_incl\": true,\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"prices\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"6714932a-af47-419b-bccb-1e3545988a86","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price_list\",\n        \"attributes\": {\n            \"name\": \"UK Price List\",\n            \"description\": \"UK GBP prices\",\n            \"currency\": \"GBP\",\n            \"tax_incl\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"2f0e6ac9-ea66-4248-99bd-3771ba8838d4"},{"name":"delete Price List","id":"6d42105a-7ef4-49e7-bdf7-543345c5d893","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/price_lists/:id","description":"<p>Delete a price list</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"0c241046-527b-4cd4-9c49-a7903b81d231","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"b449e790-2b94-4bce-9757-edd78cd8c184","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"d6bf08e6-09da-445e-ae4e-08c83210342f","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c48166c0-6c56-4f50-b771-1d4f2a8f2ef8","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:id","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"6d42105a-7ef4-49e7-bdf7-543345c5d893"},{"name":"create Price","id":"081266bb-4046-4f2a-9b38-5b9ce8df333d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"price\",\n    \"attributes\": {\n      \"amount_cents\": 70000,\n      \"original_amount_cents\": 75000\n    },\n    \"relationships\": {\n      \"product\": {\n        \"data\": {\n          \"id\": \"56\",\n          \"type\": \"product\"\n        }\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/price_lists/:price_list_id/prices","description":"<p>Create a price</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists",":price_list_id","prices"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Price List ID.</p>\n","type":"text/plain"},"type":"any","value":"{{price_list_id}}","key":"price_list_id"}]}},"response":[{"id":"4cddf638-4462-4882-b40c-d72ce6abd441","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price\",\n        \"attributes\": {\n            \"amount_cents\": 58462604,\n            \"original_amount_cents\": 90963149,\n            \"currency\": \"GBP\"\n        },\n        \"relationships\": {\n            \"product\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:price_list_id/prices","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":price_list_id","prices"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"price_list_id","value":"9873458734","description":"(Required) Price List ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"price\",\n  \"attributes\": {\n   \"amount_cents\": 31820224,\n   \"original_amount_cents\": 12543799,\n   \"currency\": \"GBP\",\n   \"discount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"price_list\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"1641b9f6-8593-43fa-837f-39bcef27b9b3","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price\",\n        \"attributes\": {\n            \"amount_cents\": 58462604,\n            \"original_amount_cents\": 90963149,\n            \"currency\": \"GBP\"\n        },\n        \"relationships\": {\n            \"product\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:price_list_id/prices","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":price_list_id","prices"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"price_list_id","value":"9873458734","description":"(Required) Price List ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"081266bb-4046-4f2a-9b38-5b9ce8df333d"},{"name":"get Prices","id":"80eab0db-6c98-407d-8e56-13958b761863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/price_lists/:price_list_id/prices","description":"<p>Get all prices</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["price_lists",":price_list_id","prices"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>(Required) Price List ID.</p>\n","type":"text/plain"},"type":"any","value":"{{price_list_id}}","key":"price_list_id"}]}},"response":[{"id":"1d3ab1ca-2882-4042-a832-acd31c140582","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:price_list_id/prices?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":price_list_id","prices"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"price_list_id","value":"9873458734","description":"(Required) Price List ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"price\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"ed0d9399-1e31-4fe8-966f-07af123ab87c","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/price_lists/:price_list_id/prices?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["price_lists",":price_list_id","prices"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"price_list_id","value":"9873458734","description":"(Required) Price List ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"80eab0db-6c98-407d-8e56-13958b761863"},{"name":"get Price","id":"d9a3070a-d95d-4eac-b90c-9fb5102b179d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/prices/:id","description":"<p>Get a price</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["prices",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"6b613b90-14fe-49b8-891b-df4877945438","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"price\",\n  \"attributes\": {\n   \"amount_cents\": 31820224,\n   \"original_amount_cents\": 12543799,\n   \"currency\": \"GBP\",\n   \"discount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"price_list\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"76902e0a-3a83-49c7-803e-1328b714b882","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"c19598fe-de7a-4a5e-b45d-7c0a27949cde","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"d9a3070a-d95d-4eac-b90c-9fb5102b179d"},{"name":"update Price","id":"794b5d1c-54d3-4bf9-a0a8-963931838730","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price\",\n        \"attributes\": {\n            \"amount_cents\": 64531412,\n            \"original_amount_cents\": 57372261,\n            \"currency\": \"GBP\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/prices/:id","description":"<p>Update a price</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["prices",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"307e52fb-635e-4d29-8397-b1e3688d59b2","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"c7109078-a13c-45e2-8a8b-2cadf415c868","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"c966c752-d8fb-4a8a-9bf6-973afc93672d","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price\",\n        \"attributes\": {\n            \"amount_cents\": 64531412,\n            \"original_amount_cents\": 57372261,\n            \"currency\": \"GBP\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"price\",\n  \"attributes\": {\n   \"amount_cents\": 31820224,\n   \"original_amount_cents\": 12543799,\n   \"currency\": \"GBP\",\n   \"discount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"price_list\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"55d65384-efa8-45e2-9ce3-0097c485884d","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"price\",\n        \"attributes\": {\n            \"amount_cents\": 64531412,\n            \"original_amount_cents\": 57372261,\n            \"currency\": \"GBP\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"794b5d1c-54d3-4bf9-a0a8-963931838730"},{"name":"delete Price","id":"1500c423-4f17-436e-a50b-7ac6e7c465c3","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/prices/:id","description":"<p>Delete a price</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["prices",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"87af44cc-3f27-4412-ac05-2db2a3d9fade","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"9a1c6df6-85b4-4672-b6db-84281dca0464","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"16a2fae9-0795-4745-8f29-05c8ecd5d64a","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a30b0fa7-43bb-4b1a-885a-66aff7d81473","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/prices/:id","host":["https://www.appibase.com/2/api/v1"],"path":["prices",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1500c423-4f17-436e-a50b-7ac6e7c465c3"}],"id":"b2bea3cb-3f71-4aca-8a6c-e90d7a5ff4a0","description":"<p>Products' prices are managed using a store's price list.</p>\n","_postman_id":"b2bea3cb-3f71-4aca-8a6c-e90d7a5ff4a0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"inventories","item":[{"name":"create Stock Location","id":"1ec20f1f-3da0-4007-8161-1cded8c1673e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_location\",\n        \"attributes\": {\n            \"name\": \"Apple Store, West London\",\n            \"description\": \"Westfield London\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stock_locations","description":"<p>Create a stock location</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"6ef5bb1c-7143-4afd-ac89-4385e52a625f","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"f4ea7777-1d32-41f6-8e2e-36f328578aca","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_location\",\n        \"attributes\": {\n            \"name\": \"Apple Store, West London\",\n            \"description\": \"Westfield London\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_location\",\n  \"attributes\": {\n   \"name\": \"Apple Store, West London\",\n   \"description\": \"Westfield London\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stock_items\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"5a64a9cd-8912-4f06-8c92-a98b91c47965","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_location\",\n        \"attributes\": {\n            \"name\": \"Apple Store, West London\",\n            \"description\": \"Westfield London\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1ec20f1f-3da0-4007-8161-1cded8c1673e"},{"name":"get Stock Locations","id":"bb9ce6d2-6d4a-45c8-bb84-7714980ec18f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_locations","description":"<p>Get all stock locations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"7b526065-3c08-47e5-972c-5a128645fbec","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"e8afae38-c1df-44b2-a6c7-ff5b5f745e87","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"stock_location\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"stock_location\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"0ddc4d42-ca98-4a1d-a244-54a64b2cb864","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"bb9ce6d2-6d4a-45c8-bb84-7714980ec18f"},{"name":"get Stock Location","id":"2c36cea1-912e-4ef2-8f40-edfafd3da7a1","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_locations/:id","description":"<p>Get a stock location</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"07667d59-49fa-4aac-9fc2-9464da8fd467","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"f2d928dc-b0ec-4549-95f9-5357106dafa7","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"16c813c7-5c81-4e6f-8050-b654af317fe6","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_location\",\n  \"attributes\": {\n   \"name\": \"Apple Store, West London\",\n   \"description\": \"Westfield London\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stock_items\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"a3c2d132-4b00-4fb3-929c-9212ac73b048","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"1982d454-eba8-44ed-abe8-262016c5b6cc","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"2c36cea1-912e-4ef2-8f40-edfafd3da7a1"},{"name":"update Stock Location","id":"d2631db5-0fc7-4eea-8794-16f992b75a0e","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_location\",\n        \"attributes\": {\n            \"name\": \"Apple Store, West London\",\n            \"description\": \"Westfield London\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stock_locations/:id","description":"<p>Update a stock location</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"132dc013-3cbb-465d-b5ab-1817e95a634a","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"1d3c0a96-d603-4acb-bc47-68a2f457add3","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"5fea17d9-d279-457c-8628-825d656a0521","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_location\",\n        \"attributes\": {\n            \"name\": \"Apple Store, West London\",\n            \"description\": \"Westfield London\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_location\",\n  \"attributes\": {\n   \"name\": \"Apple Store, West London\",\n   \"description\": \"Westfield London\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stock_items\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"62591930-1578-4cb3-81c2-311708f08b6c","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_location\",\n        \"attributes\": {\n            \"name\": \"Apple Store, West London\",\n            \"description\": \"Westfield London\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"d2631db5-0fc7-4eea-8794-16f992b75a0e"},{"name":"delete Stock Location","id":"70964c80-7307-419a-9161-271c15058096","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/stock_locations/:id","description":"<p>Delete a stock location</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"7cf498e5-77c9-4f0a-a5e7-a71395ba467c","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"a7752836-5f91-4b6a-a147-fb7974b4ef61","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"328c2031-d9cc-46bb-a57b-172588b4bbed","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1a8122af-0557-47c2-a7a0-680948db722c","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"70964c80-7307-419a-9161-271c15058096"},{"name":"create Stock Item","id":"50c80df4-92d3-456f-b1e7-dc6047cdeef8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"stock_item\",\n    \"attributes\": {\n      \"quantity\": 30\n    },\n    \"relationships\": {\n      \"product\": {\n        \"data\": {\n          \"id\": \"56\",\n          \"type\": \"product\"\n        }\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/stock_items","description":"<p>Create a stock item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":stock_location_id","stock_items"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Stock Location ID.</p>\n","type":"text/plain"},"type":"any","value":"{{stock_location_id}}","key":"stock_location_id"}]}},"response":[{"id":"33ec5c5f-db77-4e1c-8207-e609585d6594","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_item\",\n        \"attributes\": {\n            \"quantity\": 15\n        },\n        \"relationships\": {\n            \"product\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/stock_items","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","stock_items"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_item\",\n  \"attributes\": {\n   \"quantity\": 15,\n   \"reserved\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"available\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stock_transactions\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"6cfdad6b-698d-4f65-a852-19054c596535","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_item\",\n        \"attributes\": {\n            \"quantity\": 15\n        },\n        \"relationships\": {\n            \"product\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/stock_items","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","stock_items"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"50c80df4-92d3-456f-b1e7-dc6047cdeef8"},{"name":"get Stock Items","id":"df8c47c3-a846-4ed9-8e95-a8df537a214e","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/stock_items?limit=10","description":"<p>Get all stock items</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_locations",":stock_location_id","stock_items"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"9054860b-e700-437e-a4a4-f71652ec59d5","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"279a0c1a-ee4b-4edc-9e9b-b78766080c64","description":{"content":"<p>(Required) Stock Location ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"stock_location_id"}]}},"response":[{"id":"5957ae76-c71e-46de-aae1-4a17f8812897","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/stock_items?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","stock_items"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"stock_item\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"stock_item\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"2a3468d7-ebfb-4dbb-a0c4-05826661e3fd","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_locations/:stock_location_id/stock_items?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stock_locations",":stock_location_id","stock_items"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_location_id","value":"9873458734","description":"(Required) Stock Location ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"df8c47c3-a846-4ed9-8e95-a8df537a214e"},{"name":"get Stock Item","id":"740ae310-0bb0-4d0e-88b7-a7813fdcbe94","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_items/:id","description":"<p>Get a stock item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_items",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"2696c78e-6572-4f37-974e-2a93aab75ab6","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"291e65ed-af80-4dc6-a0b2-df80e4b12761","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"3e7bf54e-be4a-4cca-8a6e-a92951b8c0e0","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_item\",\n  \"attributes\": {\n   \"quantity\": 15,\n   \"reserved\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"available\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stock_transactions\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"07f09e42-6681-499b-aec4-e16e1ce4c6b7","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"c93bcd24-7a42-492b-9fc5-7731a5b9cefb","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"740ae310-0bb0-4d0e-88b7-a7813fdcbe94"},{"name":"get Stock Item Location","id":"f78001b6-0489-4d84-ab2e-88dbcffcc482","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_items/:id/stock_location","description":"<p>Get a stock item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_items",":id","stock_location"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{stock_item_id}}","key":"id"}]}},"response":[{"id":"92f6e095-ea42-4123-a51f-caffbf48b3a3","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_item\",\n  \"attributes\": {\n   \"quantity\": 15,\n   \"reserved\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"available\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stock_transactions\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"b886f78d-bb9f-474d-b2a3-dcc1e899f53b","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"1c67ccee-0836-43b6-bd99-780fc71c00d3","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f78001b6-0489-4d84-ab2e-88dbcffcc482"},{"name":"get Stock Item Product","id":"fa422de4-3058-4265-98eb-1015c8290a18","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_items/:id/product","description":"<p>Get a stock item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_items",":id","product"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"4eebcddb-bb00-4107-93f9-b3922eec7876","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{stock_item_id}}","key":"id"}]}},"response":[{"id":"22d5a15c-377e-4af4-9bc7-cf5cf450afe8","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_item\",\n  \"attributes\": {\n   \"quantity\": 15,\n   \"reserved\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"available\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"product\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"stock_location\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"stock_transactions\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"95dcd1f4-7412-4647-a476-033f5a0afe58","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"1d8109de-9949-4f6f-b56a-0e1397ab9044","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"fa422de4-3058-4265-98eb-1015c8290a18"},{"name":"delete Stock Item","id":"6dafa58d-b83e-434f-81a6-c4a86e4602a5","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/stock_items/:id","description":"<p>Delete a stock item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_items",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"19120464-de11-40fa-84dc-bf16e58832c4","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"5be07e4f-f0d6-40c7-950c-37434dec5a68","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"1e48ca09-1850-496d-b24e-d9d7c44c3f60","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"86ec76de-621e-4477-858d-513ba7870b8a","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"6dafa58d-b83e-434f-81a6-c4a86e4602a5"},{"name":"create Stock Transaction","id":"58e6d688-3b8b-4d22-8b35-b873fb0c9fc6","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_transaction\",\n        \"attributes\": {\n            \"quantity\": 5,\n            \"transaction_type\": \"new\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","description":"<p>Create a stock transaction</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_items",":stock_item_id","stock_transactions"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"dbdbc066-7f79-4fe2-9713-3e199ae3189a","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"96d7dd23-2843-4b30-a5d1-557628ec47ec","description":{"content":"<p>(Required) Stock Item ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"stock_item_id"}]}},"response":[{"id":"c5212746-d912-4955-9d7f-cb817a1e044a","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_transaction\",\n        \"attributes\": {\n            \"quantity\": 5,\n            \"transaction_type\": \"new\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":stock_item_id","stock_transactions"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_item_id","value":"9873458734","description":"(Required) Stock Item ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_transaction\",\n  \"attributes\": {\n   \"quantity\": 5,\n   \"transaction_type\": \"new\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stock_item\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"9f7b9d68-00f7-4d8e-a2ba-76bad403a953","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_transaction\",\n        \"attributes\": {\n            \"quantity\": 5,\n            \"transaction_type\": \"new\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":stock_item_id","stock_transactions"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_item_id","value":"9873458734","description":"(Required) Stock Item ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"58e6d688-3b8b-4d22-8b35-b873fb0c9fc6"},{"name":"get Stock Transations","id":"91d8dfa4-7f14-4df2-a14d-dbf0ca2688a3","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","description":"<p>Get all stock item transations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_items",":stock_item_id","stock_transactions"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"39ddf4b0-7f81-4d8e-abaa-c29d1217f138","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"112acb7b-cac1-41c4-b0e4-d8035cf18af5","description":{"content":"<p>(Required) Stock Item ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"stock_item_id"}]}},"response":[{"id":"23a4becc-c489-4ad3-a85f-517df1d2e8b4","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":stock_item_id","stock_transactions"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_item_id","value":"9873458734","description":"(Required) Stock Item ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"stock_transaction\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"stock_transaction\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"5449d66d-67e2-4e88-888c-9c5047998c24","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":stock_item_id","stock_transactions"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_item_id","value":"9873458734","description":"(Required) Stock Item ID."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"aaf89710-7bc9-409e-9479-1b749387698a","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_items/:stock_item_id/stock_transactions","host":["https://www.appibase.com/2/api/v1"],"path":["stock_items",":stock_item_id","stock_transactions"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"stock_item_id","value":"9873458734","description":"(Required) Stock Item ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"91d8dfa4-7f14-4df2-a14d-dbf0ca2688a3"},{"name":"get Stock Transaction","id":"93462c19-bbb2-4924-a8ba-a3f9b86df3c1","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stock_transactions/:id","description":"<p>Get a stock transaction</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_transactions",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"d3996b28-f3f1-4bfa-9576-8bc19fc49e1c","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"1b18513e-4c03-498a-9558-eb2f30b51ff1","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"cf1b9632-ee96-422c-876f-a04f6080dca8","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_transaction\",\n  \"attributes\": {\n   \"quantity\": 5,\n   \"transaction_type\": \"new\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stock_item\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"3a56216f-16f5-4d32-b337-3fa46b47b815","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"2df16b2c-40ce-4747-a4b6-7e26f4bc534a","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"93462c19-bbb2-4924-a8ba-a3f9b86df3c1"},{"name":"update Stock Transaction","id":"473c2c35-b683-421f-a9ce-acbc23343e70","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_transaction\",\n        \"attributes\": {\n            \"quantity\": 5,\n            \"transaction_type\": \"new\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stock_transactions/:id","description":"<p>Update a stock transaction</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_transactions",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"3f5c63a2-f587-4323-a5ba-64fb4dc3dc4d","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"d0c43040-e5dc-4288-8ac2-144ee3c87e54","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"5f3f91ba-88db-42dd-956f-31ef5c72b523","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_transaction\",\n        \"attributes\": {\n            \"quantity\": 5,\n            \"transaction_type\": \"new\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"stock_transaction\",\n  \"attributes\": {\n   \"quantity\": 5,\n   \"transaction_type\": \"new\",\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"stock_item\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"d60dc9fe-69ea-4b45-b27a-cd98db986c63","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"stock_transaction\",\n        \"attributes\": {\n            \"quantity\": 5,\n            \"transaction_type\": \"new\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"473c2c35-b683-421f-a9ce-acbc23343e70"},{"name":"delete Stock Transaction","id":"a74ed797-4a05-4cf6-aadf-9ab67973506e","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/stock_transactions/:id","description":"<p>Delete a stock transaction</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stock_transactions",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"ba8a9d70-934f-49b6-9488-efc84833bc1f","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"f93f4b06-2b7c-46d9-a9f5-7a4c9ab3f51d","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"f9299e04-3b59-4b18-a558-8f0970c9cb86","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"dcb41943-461f-4810-889f-42b569ce7ba4","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stock_transactions/:id","host":["https://www.appibase.com/2/api/v1"],"path":["stock_transactions",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"a74ed797-4a05-4cf6-aadf-9ab67973506e"}],"id":"e7d381fa-ffa7-46a7-b143-90d2c0ce995b","description":"<p>A store's inventory manages stock items and their locations.</p>\n","_postman_id":"e7d381fa-ffa7-46a7-b143-90d2c0ce995b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"carts","item":[{"name":"create Cart","id":"0f46ddac-de42-4a05-9eb2-7921d505ab6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/stores/:store_id/carts?include=cart_items","description":"<p>Create a cart</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":store_id","carts"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"key":"include","value":"cart_items"}],"variable":[{"description":{"content":"<p>(Required) Store ID.</p>\n","type":"text/plain"},"type":"any","value":"{{store_id}}","key":"store_id"}]}},"response":[{"id":"27f24edb-9333-4310-a4b8-6dbf4a57c782","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/carts","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","carts"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"cart\",\n  \"attributes\": {\n   \"guest\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"cart_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"75a9b4c6-0f46-4127-9fdd-ab94d72d03ce","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/carts","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","carts"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"0f46ddac-de42-4a05-9eb2-7921d505ab6e"},{"name":"get Carts","id":"c1b24bc9-4349-43a7-ada4-ee2a7a79635c","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stores/:store_id/carts","description":"<p>Get all carts</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":store_id","carts"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>(Required) Store ID.</p>\n","type":"text/plain"},"type":"any","value":"{{store_id}}","key":"store_id"}]}},"response":[{"id":"41ff2541-8221-4001-9c39-b2f7fa6f96e5","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/carts?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","carts"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"cart\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"cart\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"480a6863-c597-4039-aee0-7fedccfe919f","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/carts?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","carts"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c1b24bc9-4349-43a7-ada4-ee2a7a79635c"},{"name":"get Cart","id":"f23d5d08-451f-4749-9176-c916ee85b728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token_client}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/carts/:id?include=cart_items,cart_items.item","description":"<p>Get a cart</p>\n","urlObject":{"path":["carts",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"key":"include","value":"cart_items,cart_items.item"}],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{cart_id}}","key":"id"}]}},"response":[{"id":"066346e3-f1ca-46e4-9f21-abf37d453252","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"cart\",\n  \"attributes\": {\n   \"guest\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"cart_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"6e1a8e18-d710-423a-8b22-3b94139e1d1c","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"33b1ad42-b6ac-486a-ad62-40315478a51c","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f23d5d08-451f-4749-9176-c916ee85b728"},{"name":"update Cart","id":"d56dec6b-1430-49fe-97e0-c9894415d15b","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/carts/:id","description":"<p>Update a cart</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["carts",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"8353395d-a522-4444-b45b-99f6de8a48ca","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"ee57c02d-d4f0-416d-80e3-6f3bb5fb0b65","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"2d9937a9-9f2c-49ea-bcc0-3b8bef627ab0","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"cart\",\n  \"attributes\": {\n   \"guest\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount_cents\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"cart_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"4ae751bf-587b-449f-9788-fdc4af74c33c","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"d56dec6b-1430-49fe-97e0-c9894415d15b"},{"name":"delete Cart","id":"a708b9e9-bb48-4f2e-a987-31ecccdd7023","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/carts/:id","description":"<p>Delete a cart</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["carts",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"6a945529-36a6-4655-8e95-e77dc64a997f","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"27fb5bc0-b0ec-4961-93c0-0abb71920b39","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"a85c5895-bb41-4733-baa2-83b62e50accd","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ba62e61b-0da8-4bb1-8b25-1ecb1147ea8a","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:id","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"a708b9e9-bb48-4f2e-a987-31ecccdd7023"},{"name":"create Cart Item","event":[{"listen":"test","script":{"id":"f427e377-3fed-4bde-8225-b95e32a724d0","exec":["if (!(pm.response.text() === \"\")) {","  const jsonData = pm.response.json();","  if (jsonData.data) {","    pm.environment.set(\"cart_item_id\", jsonData.data[0].id);","  }","}"],"type":"text/javascript"}}],"id":"729f78d3-db0f-4a54-b152-f40f254437b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"cart_item\",\n    \"attributes\": {\n      \"quantity\": \"2\"\n    },\n    \"relationships\": {\n      \"item\": {\n        \"data\": {\n          \"id\": \"2\",\n          \"type\": \"product\"\n        }\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/carts/:cart_id/cart_items","description":"<p>Create a cart item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["carts",":cart_id","cart_items"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Cart ID.</p>\n","type":"text/plain"},"type":"any","value":"{{cart_id}}","key":"cart_id"}]}},"response":[{"id":"f2ddb5de-31ff-41b7-bced-ebe20218a266","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        },\n        \"relationships\": {\n            \"product\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:cart_id/cart_items","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":cart_id","cart_items"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"cart_id","value":"9873458734","description":"(Required) Cart ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"81ccb7a3-dc05-426e-9a97-ebc139a1722e","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        },\n        \"relationships\": {\n            \"product\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:cart_id/cart_items","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":cart_id","cart_items"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"cart_id","value":"9873458734","description":"(Required) Cart ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"729f78d3-db0f-4a54-b152-f40f254437b8"},{"name":"get Carts Items","id":"7c9f1d2a-bd6b-4206-8e58-9b39cc33baae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/carts/:cart_id/cart_items?include=item","description":"<p>Get all cart items</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["carts",":cart_id","cart_items"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"key":"include","value":"item"},{"disabled":true,"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"description":{"content":"<p>(Required) Cart ID.</p>\n","type":"text/plain"},"type":"any","value":"{{cart_id}}","key":"cart_id"}]}},"response":[{"id":"ffb32efa-bbb1-4af4-88ed-cc592088a516","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:cart_id/cart_items?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":cart_id","cart_items"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"cart_id","value":"9873458734","description":"(Required) Cart ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"2d6c355b-c286-49d1-a251-80eee5ba9bb0","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:cart_id/cart_items?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":cart_id","cart_items"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"cart_id","value":"9873458734","description":"(Required) Cart ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"7c9f1d2a-bd6b-4206-8e58-9b39cc33baae"},{"name":"update Cart Item","id":"4d7f1c72-91c0-4eb6-a84c-5fd29d98ba64","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/cart_items/:id","description":"<p>Update a cart item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["cart_items",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"06e8d3ce-16e5-41f4-829e-f604ce392257","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"4ceeaa0d-54b0-4009-ac52-6c263d867f1e","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"21ed76d2-c60c-40a8-846c-5bf9f5763d0f","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/cart_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["cart_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"f5671d20-3509-475c-ab24-a796d0d59f96","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/cart_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["cart_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"4d7f1c72-91c0-4eb6-a84c-5fd29d98ba64"},{"name":"update Cart Item Copy","id":"7c8d495b-8292-48e4-86a2-33db114442d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/cart_items/:id","description":"<p>Update a cart item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["cart_items",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"19","key":"id"}]}},"response":[{"id":"4087add6-dfdf-4349-aa13-6cf7b69491a8","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/cart_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["cart_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"2bfb7d89-1815-4249-af39-5d36795a9a03","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cart_item\",\n        \"attributes\": {\n            \"quantity\": 2\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/cart_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["cart_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"7c8d495b-8292-48e4-86a2-33db114442d0"},{"name":"delete Cart Item","id":"c64c38cf-dd0b-4ed7-8ae0-670a6e508652","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/cart_items/:id","description":"<p>Delete a cart item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["cart_items",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"{{cart_item_id}}","key":"id"}]}},"response":[{"id":"46abfa39-8e4d-4656-b5f7-78da225ff660","name":"Successful response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/cart_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["cart_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"b8098ac1-fafa-469d-ae54-642a8364bb4a","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/cart_items/:id","host":["https://www.appibase.com/2/api/v1"],"path":["cart_items",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"c64c38cf-dd0b-4ed7-8ae0-670a6e508652"}],"id":"864bdacb-13d1-4494-a8c8-d81c2524bc5c","description":"<p>A cart contains the product items that a user intends to purchase.</p>\n","_postman_id":"864bdacb-13d1-4494-a8c8-d81c2524bc5c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"orders","item":[{"name":"create Order","id":"97c6a0fa-ffc8-4d05-838d-f17989fef719","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"order\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"shipping_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"billing_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/carts/:cart_id/orders","description":"<p>Create an order from checkout</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["carts",":cart_id","orders"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Cart ID.</p>\n","type":"text/plain"},"type":"any","value":"{{cart_id}}","key":"cart_id"}]}},"response":[{"id":"525f1c45-2095-4d13-a08a-ab63b2c2c2c8","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"order\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"shipping_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"billing_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:cart_id/orders","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":cart_id","orders"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"cart_id","value":"9873458734","description":"(Required) Cart ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"order\",\n  \"attributes\": {\n   \"number\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"payment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"fulfillment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"shipping_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"billing_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"order_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"bb13787b-2ee0-48a8-9c4e-a25be39cd03b","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"order\",\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"shipping_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"billing_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/carts/:cart_id/orders","host":["https://www.appibase.com/2/api/v1"],"path":["carts",":cart_id","orders"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"cart_id","value":"9873458734","description":"(Required) Cart ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"97c6a0fa-ffc8-4d05-838d-f17989fef719"},{"name":"get Orders","id":"b0bc9526-58f8-4c8c-852a-7830878c5cec","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/stores/:store_id/orders?limit=10","description":"<p>Get all orders</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["stores",":store_id","orders"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"22c624af-4f88-4660-a7d5-1ab2604c2690","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"a57f6781-4d9a-4c26-8b51-7c0587e3dcba","description":{"content":"<p>(Required) Store ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"store_id"}]}},"response":[{"id":"eecdf732-e8a3-497e-bc3a-9da128eb463c","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/orders?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","orders"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"order\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"order\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"relationships\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"fd357580-4a68-4884-9b63-a51396deefb1","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/stores/:store_id/orders?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["stores",":store_id","orders"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"store_id","value":"9873458734","description":"(Required) Store ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"b0bc9526-58f8-4c8c-852a-7830878c5cec"},{"name":"get Order","id":"e3060bd5-2933-4c3f-82ea-a25f47e61af4","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/orders/:id","description":"<p>Get an order</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"03b91cb0-919b-410b-83da-d37bc98c80e3","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"d559db3b-4f4d-47f9-b425-913915c5025f","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"12faab70-5c67-4f34-82de-46f2af787a7a","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"order\",\n  \"attributes\": {\n   \"number\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"payment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"fulfillment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"shipping_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"billing_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"order_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"7f0b6c10-0b55-4f37-887d-cbdbd8cd06cf","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"6159c170-0f86-4001-8524-6cba5f393436","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"e3060bd5-2933-4c3f-82ea-a25f47e61af4"},{"name":"update Order","id":"4e44329a-ab98-43f1-b6d4-f9c7527b0033","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"order\",\n        \"relationships\": {\n            \"shipping_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"billing_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/orders/:id","description":"<p>Update an order</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"18d088f2-466c-47b2-a124-2b496996e607","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"0fd1eff3-84d8-4778-8361-0ea1860daa8f","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"c8c426cd-1f47-4924-b618-6eb301412328","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"order\",\n        \"relationships\": {\n            \"shipping_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"billing_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"order\",\n  \"attributes\": {\n   \"number\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"payment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"fulfillment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"shipping_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"billing_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"order_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"a5258e20-9342-4ba2-afbc-724324b8c45f","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"order\",\n        \"relationships\": {\n            \"shipping_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            },\n            \"billing_address\": {\n                \"data\": {\n                    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"4e44329a-ab98-43f1-b6d4-f9c7527b0033"},{"name":"delete Order","id":"8e0f34ed-1974-4bd6-9ffb-527e27f1e7dd","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/orders/:id","description":"<p>Delete an order</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"2698cafa-01a3-4d80-8169-32deac80b68c","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"3f0a6770-2473-419c-ba5e-8a364c610893","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"2bf2de3c-68c1-4e26-a731-0eebc1d0bfd7","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"57580a8a-7ac4-4085-96dd-f1903d23ae77","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:id","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"8e0f34ed-1974-4bd6-9ffb-527e27f1e7dd"},{"name":"get Orders Items","id":"088d0109-b513-47e6-ba6e-4604b6dc99eb","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/orders/:order_id/order_items?limit=10","description":"<p>Get all order items</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","order_items"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"4402c897-6c0d-4bcd-bcc3-64c8c11c88e9","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"b8ec3c9c-92d5-4095-b7fb-6d56cca25ef1","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"49053240-b81e-4c77-9ef3-51c9651d71bf","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/order_items?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","order_items"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"cc0e8981-4c5f-4002-94c2-270facd86a01","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/order_items?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","order_items"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"088d0109-b513-47e6-ba6e-4604b6dc99eb"},{"name":"get Order Shipping Address","id":"6a0c099a-ba62-4d01-8f4a-fdc4eb9ac86c","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/orders/:order_id/shipping_address","description":"<p>Get the order's shipping address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","shipping_address"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"b43f7a17-9546-48bc-bc79-2129a2754953","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"6477599b-9cf9-4640-bafc-7f9221753e5e","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"8c1a7719-5a67-4038-92b6-14d4a0d56ee8","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/shipping_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","shipping_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"first_name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"last_name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"company\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"phone\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"line1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"line2\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"city\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"postal_code\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"region\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"region_code\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"country\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"country_code\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"b015bbe0-81c5-496a-9d1e-88e121fae8de","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/shipping_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","shipping_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"6a0c099a-ba62-4d01-8f4a-fdc4eb9ac86c"},{"name":"update Order Shipping Address","id":"14d59918-f3c0-4af3-a101-8d72d8113168","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 9873458734,\n    \"type\": \"address\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/orders/:order_id/relationships/shipping_address","description":"<p>Update order shipping address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","relationships","shipping_address"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"67631665-2907-46cd-8025-8f235248e5cc","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"f218fd63-f5af-4a1d-985b-f700f1926606","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"b5c0036d-6a62-4c05-805d-dfa2304cc664","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"id\": 9873458734,\n    \"type\": \"address\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/relationships/shipping_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","relationships","shipping_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"order\",\n  \"attributes\": {\n   \"number\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"payment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"fulfillment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"shipping_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"billing_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"order_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"e39290be-1825-4f3c-bcd7-7ed2edfaee91","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"id\": 9873458734,\n    \"type\": \"address\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/relationships/shipping_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","relationships","shipping_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"14d59918-f3c0-4af3-a101-8d72d8113168"},{"name":"get Order Billing Address","id":"64238d42-7258-4701-909d-942f7bcaf4d3","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/orders/:order_id/billing_address","description":"<p>Get the order's billing address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","billing_address"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"807faa57-bd64-44c7-a423-58b789efc405","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"042ffbc8-b9c1-461e-bc2a-b3cfce107769","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"39927991-9551-49c3-a800-4a6ab0b48e7f","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/billing_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","billing_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"address\",\n  \"attributes\": {\n   \"name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"first_name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"last_name\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"company\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"phone\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"line1\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"line2\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"city\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"postal_code\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"region\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"region_code\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"country\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"country_code\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"owner\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n }\n}"},{"id":"fda4170a-46f2-4ed5-bbcb-117d52332852","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/billing_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","billing_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"64238d42-7258-4701-909d-942f7bcaf4d3"},{"name":"update Order Billing Address","id":"bcdc9e84-c3ff-4b2c-8003-994dcafc0224","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"id\": 9873458734,\n    \"type\": \"address\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/orders/:order_id/relationships/billing_address","description":"<p>Update order billing address</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","relationships","billing_address"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"3fc32bf4-9d0e-4a2f-8b29-229dbd823318","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"5c6b61ae-067a-467a-90c1-e85fad0d0cff","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"f349f9be-a52a-4644-b1ec-c5691b7f23ec","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"id\": 9873458734,\n    \"type\": \"address\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/relationships/billing_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","relationships","billing_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"order\",\n  \"attributes\": {\n   \"number\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"email\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"currency\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_incl\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_rate\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"payment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"fulfillment_status\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"subtotal_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"shipping_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"tax_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"total_amount\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  },\n  \"relationships\": {\n   \"shipping_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"billing_address\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"customer\": {\n    \"data\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   },\n   \"store\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"order_items\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  }\n }\n}"},{"id":"41dee287-0ccb-476a-80e1-a4cd556dced4","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"id\": 9873458734,\n    \"type\": \"address\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/relationships/billing_address","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","relationships","billing_address"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"bcdc9e84-c3ff-4b2c-8003-994dcafc0224"}],"id":"79b0fd74-0d61-4fff-a7ff-180373a9aa51","description":"<p>An order is created through the checkout of a cart.</p>\n","_postman_id":"79b0fd74-0d61-4fff-a7ff-180373a9aa51","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}},{"name":"payments","item":[{"name":"create Automatic Payment","id":"f49d42f2-fb7d-44ce-8bce-59bbfae5487a","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token_client}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"gateway\": \"stripe\",\n    \"payment_method\": \"automatic\",\n    \"payment\": \"nostrud in esse\",\n    \"options\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/orders/:order_id/payments","description":"<p>Create an automatic payment transaction</p>\n","urlObject":{"path":["orders",":order_id","payments"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"{{order_id}}","key":"order_id"}]}},"response":[{"id":"0cf389b9-c641-47ed-80e1-01eb172bc226","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"gateway\": \"stripe\",\n    \"payment_method\": \"automatic\",\n    \"payment\": \"nostrud in esse\",\n    \"options\": {}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/payments","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","payments"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"5a762ead-8d6c-41b7-b6a5-dc9eea86e8c0","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"gateway\": \"stripe\",\n    \"payment_method\": \"automatic\",\n    \"payment\": \"nostrud in esse\",\n    \"options\": {}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/payments","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","payments"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f49d42f2-fb7d-44ce-8bce-59bbfae5487a"},{"name":"create Payment Authorization","id":"11063a73-0c72-43e6-a51c-c944dbc2e248","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n    \"gateway\": \"stripe\",\n    \"payment_method\": \"automatic\",\n    \"payment\": \"nostrud in esse\",\n    \"options\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/orders/:order_id/authorizations","description":"<p>Create a payment authorization</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","authorizations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"b7683ad0-457b-45a0-97a0-df1b53b69db8","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"c05a2dea-7071-40ce-918a-1165ce77a37b","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"4a89b39e-ef90-40c4-b345-1f78a7ad703a","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"gateway\": \"stripe\",\n    \"payment_method\": \"automatic\",\n    \"payment\": \"nostrud in esse\",\n    \"options\": {}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/authorizations","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","authorizations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"9c688590-506e-4c8d-bef8-d6ca80b8e4bd","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"gateway\": \"stripe\",\n    \"payment_method\": \"automatic\",\n    \"payment\": \"nostrud in esse\",\n    \"options\": {}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/authorizations","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","authorizations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"11063a73-0c72-43e6-a51c-c944dbc2e248"},{"name":"get Order Transactions","id":"6c29e9d3-e774-4a63-bea5-a640c4927713","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/orders/:order_id/transactions?limit=10","description":"<p>Get all order transactions</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["orders",":order_id","transactions"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"f05049ce-3358-42fd-8a38-3b157b6ed3d1","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"fc0c3395-6511-4d4a-a85d-939cdc7bbf9d","description":{"content":"<p>(Required) Order ID.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"order_id"}]}},"response":[{"id":"b1855f42-e2e8-448b-8bac-ae16b2f0dc2f","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/transactions?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","transactions"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"type\": \"transactions\",\n  \"id\": 9873458734,\n  \"order_id\": 9873458734,\n  \"reference\": \"in culpa laborum\",\n  \"gateway\": \"Stripe\",\n  \"transaction_type\": \"purchase\",\n  \"status\": \"complete\",\n  \"currency\": \"GBP\",\n  \"amount\": 96000,\n  \"gateway_metadata\": {},\n  \"livemode\": true,\n  \"created_at\": \"2021-06-25T12:00:00.000Z\",\n  \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n },\n {\n  \"type\": \"transactions\",\n  \"id\": 9873458734,\n  \"order_id\": 9873458734,\n  \"reference\": \"ad dolor quis adipi\",\n  \"gateway\": \"Stripe\",\n  \"transaction_type\": \"purchase\",\n  \"status\": \"complete\",\n  \"currency\": \"GBP\",\n  \"amount\": 96000,\n  \"gateway_metadata\": {},\n  \"livemode\": true,\n  \"created_at\": \"2021-06-25T12:00:00.000Z\",\n  \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n }\n]"},{"id":"77db15db-49d3-4001-9b92-c5c532e7083a","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/orders/:order_id/transactions?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["orders",":order_id","transactions"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"order_id","value":"9873458734","description":"(Required) Order ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"6c29e9d3-e774-4a63-bea5-a640c4927713"},{"name":"get Transaction","id":"8a242c21-9eec-407f-82a0-2fe27ac13aae","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/transactions/:id?limit=10","description":"<p>Get an order transaction</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["transactions",":id"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"31675d21-bd06-41a1-99f4-bfdf93a82a0a","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"b72a29a4-f13d-400f-90f7-6f58cb349a1f","description":{"content":"<p>(Required) Unique identifier for the resource, in the path parameter.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"id"}]}},"response":[{"id":"de404793-f9f6-4f27-abe7-4c1494d4ce99","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:id?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":id"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"2d8a11f4-3bd0-438f-bfd0-1434ef418ce6","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:id?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":id"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"id","value":"9873458734","description":"(Required) Unique identifier for the resource, in the path parameter."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"8a242c21-9eec-407f-82a0-2fe27ac13aae"},{"name":"capture Authorized Payment","id":"cca4c15b-7c65-470b-9b6f-ffe51c2e2be6","request":{"method":"PATCH","header":[],"url":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/captures","description":"<p>Capture an authorized payment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["transactions",":transaction_id","captures"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"3f7dce4b-7fec-4446-806e-89e326b2ea99","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"2ab76fbc-f13a-4b56-804e-8e913b29b7c7","description":{"content":"<p>(Required) Transaction ID of the processed order payment.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"transaction_id"}]}},"response":[{"id":"d4ef1816-86e9-49dc-a5b5-cb83de7ace7a","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/captures","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","captures"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"5fb65acb-8543-435d-a628-eb98e1c605a7","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/captures","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","captures"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"cca4c15b-7c65-470b-9b6f-ffe51c2e2be6"},{"name":"confirm Payment","id":"754779d2-0189-4aa9-bdda-57308181e474","request":{"method":"PATCH","header":[],"url":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/confirmations","description":"<p>Confirm a payment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["transactions",":transaction_id","confirmations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"3074573a-dacf-44f4-9d44-10227ec46dac","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"534c2508-5b24-4916-8f51-502d12cd8558","description":{"content":"<p>(Required) Transaction ID of the processed order payment.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"transaction_id"}]}},"response":[{"id":"fa289f4d-da8b-40b6-afcf-b28970e216bf","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/confirmations","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","confirmations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"fcc3439f-acea-4fe3-a771-3aeb321f8cb2","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/confirmations","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","confirmations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"754779d2-0189-4aa9-bdda-57308181e474"},{"name":"cancel Payment","id":"bc9628a9-4103-45d6-91ff-8ef8ad8e0245","request":{"method":"PATCH","header":[],"url":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/cancellations","description":"<p>Cancel a payment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["transactions",":transaction_id","cancellations"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"b9ba4d09-3100-4746-8591-6499529d9132","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"8e660567-16c8-4b63-91c0-e50862179bf4","description":{"content":"<p>(Required) Transaction ID of the processed order payment.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"transaction_id"}]}},"response":[{"id":"0cfa1f51-dd01-46ef-97c6-f244eda673b6","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/cancellations","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","cancellations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"d2d383db-d2ce-4522-b2c4-b41e52c0f69f","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/cancellations","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","cancellations"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"bc9628a9-4103-45d6-91ff-8ef8ad8e0245"},{"name":"refund Payment","id":"8003c922-fcfb-4bb3-8b10-aa7a2e4ca8db","request":{"method":"POST","header":[],"url":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/refunds","description":"<p>Refund a payment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["transactions",":transaction_id","refunds"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"707dae1f-ef17-4515-8c27-23568455c735","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"},{"id":"9caa3ad7-1689-4872-b34d-bc43ae641975","description":{"content":"<p>(Required) Transaction ID of the processed order payment.</p>\n","type":"text/plain"},"type":"any","value":"9873458734","key":"transaction_id"}]}},"response":[{"id":"41a0c6e4-961c-4a70-9ae1-4655843afc52","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/refunds","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","refunds"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"type\": \"transactions\",\n \"id\": 9873458734,\n \"order_id\": 9873458734,\n \"reference\": \"ea ullamco mollit offi\",\n \"gateway\": \"Stripe\",\n \"transaction_type\": \"purchase\",\n \"status\": \"complete\",\n \"currency\": \"GBP\",\n \"amount\": 96000,\n \"gateway_metadata\": {},\n \"livemode\": true,\n \"created_at\": \"2021-06-25T12:00:00.000Z\",\n \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n}"},{"id":"3dc9e434-f9d0-4341-9941-aa89332dbe7a","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/transactions/:transaction_id/refunds","host":["https://www.appibase.com/2/api/v1"],"path":["transactions",":transaction_id","refunds"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"transaction_id","value":"9873458734","description":"(Required) Transaction ID of the processed order payment."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"8003c922-fcfb-4bb3-8b10-aa7a2e4ca8db"},{"name":"create Payment Gateway","id":"6589083c-2277-4267-8f7c-9e1ae1feb8eb","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"payment_gateway\",\n    \"attributes\": {\n      \"name\": \"Stripe - Store Name\",\n      \"gateway\": \"stripe\",\n      \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n      \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/payment_gateways","description":"<p>Create a payment gateway</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["payment_gateways"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"id":"03decb3a-6d4e-41e0-8a06-3d1ab40e5db8","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"fb4b818d-c188-4d23-a09b-0407dc67c122","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"payment_gateway\",\n        \"attributes\": {\n            \"name\": \"Stripe - Store Name\",\n            \"gateway\": \"stripe\",\n            \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n            \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"payment_gateway\",\n  \"attributes\": {\n   \"name\": \"Stripe - Store Name\",\n   \"gateway\": \"stripe\",\n   \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"webhook_endpoint_id\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_url\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_secret\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  }\n }\n}"},{"id":"b886b42a-ffdb-4407-b76f-5dd7243588e7","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"payment_gateway\",\n        \"attributes\": {\n            \"name\": \"Stripe - Store Name\",\n            \"gateway\": \"stripe\",\n            \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n            \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"6589083c-2277-4267-8f7c-9e1ae1feb8eb"},{"name":"get Gateways","id":"1a3cb3b3-c400-4959-a3e7-1af7a708ae84","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/payment_gateways?limit=10","description":"<p>Get all payment gateways</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["payment_gateways"],"host":["https://www.appibase.com/2/api/v1"],"query":[{"description":{"content":"<p>Limits the number of items on a page (max 100).</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[{"id":"d4feb355-ff55-463f-ac06-e8482a6196a4","description":{"content":"<p>Account ID e.g. 2 (This can only be one of 2)</p>\n","type":"text/plain"},"type":"any","value":"2","key":"account_id"}]}},"response":[{"id":"2d8936d2-4bec-4ac2-b7a8-9dd5e1081c2e","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"disabled":false,"description":"A link to the next page of responses","key":"x-next","value":"occaecat"},{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": [\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"payment_gateway\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  {\n   \"data\": {\n    \"id\": 9873458734,\n    \"type\": \"payment_gateway\",\n    \"attributes\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  }\n ]\n}"},{"id":"47ce7590-0870-4966-b11a-89ead5f58c02","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways?limit=10","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways"],"query":[{"key":"limit","value":"10"}],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"1a3cb3b3-c400-4959-a3e7-1af7a708ae84"},{"name":"get Gateway","id":"579847f5-0c0e-41f9-ba62-e204f42a9287","request":{"method":"GET","header":[],"url":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","description":"<p>Get a payment gateway</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["payment_gateways",":payment_gateway_id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Payment Gateway ID.</p>\n","type":"text/plain"},"type":"any","value":"{{payment_gateway_id}}","key":"payment_gateway_id"}]}},"response":[{"id":"12a8e872-b75f-4bfe-a5a1-6f1e13b81673","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"payment_gateway\",\n  \"attributes\": {\n   \"name\": \"Stripe - Store Name\",\n   \"gateway\": \"stripe\",\n   \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"webhook_endpoint_id\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_url\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_secret\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  }\n }\n}"},{"id":"19cf3db2-36a8-4c68-a21c-f8b34410d906","name":"Not found response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"Not found"},{"id":"4ae8ddb0-29f3-4c28-ac83-e99a96e449e9","name":"Errors response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"579847f5-0c0e-41f9-ba62-e204f42a9287"},{"name":"update Gateway","id":"f0654383-f3e4-4205-8fbe-f4ef3cc083c3","request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"payment_gateway\",\n    \"attributes\": {\n      \"name\": \"Stripe - Store Name\",\n      \"gateway\": \"stripe\",\n      \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n      \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","description":"<p>Update a payment gateway</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["payment_gateways",":payment_gateway_id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Payment Gateway ID.</p>\n","type":"text/plain"},"type":"any","value":"{{payment_gateway_id}}","key":"payment_gateway_id"}]}},"response":[{"id":"b404b293-2e9f-4a4e-b50b-cb2ced6008d5","name":"Successful response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"payment_gateway\",\n        \"attributes\": {\n            \"name\": \"Stripe - Store Name\",\n            \"gateway\": \"stripe\",\n            \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n            \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"payment_gateway\",\n  \"attributes\": {\n   \"name\": \"Stripe - Store Name\",\n   \"gateway\": \"stripe\",\n   \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"webhook_endpoint_id\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_url\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_secret\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  }\n }\n}"},{"id":"1c37be44-5c78-4f9e-9634-bca8550066f0","name":"Errors response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"payment_gateway\",\n        \"attributes\": {\n            \"name\": \"Stripe - Store Name\",\n            \"gateway\": \"stripe\",\n            \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n            \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"f0654383-f3e4-4205-8fbe-f4ef3cc083c3"},{"name":"delete Gateway","id":"579b2a64-aecd-49d2-afec-84e592fe6d76","request":{"method":"DELETE","header":[],"url":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","description":"<p>Delete a payment gateway</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["payment_gateways",":payment_gateway_id"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Payment Gateway ID.</p>\n","type":"text/plain"},"type":"any","value":"{{payment_gateway_id}}","key":"payment_gateway_id"}]}},"response":[{"id":"6770572b-0a04-47e4-be84-c13bdef5d5c0","name":"No content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"95613185-2be5-422a-a455-452ed29474a5","name":"Errors response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"579b2a64-aecd-49d2-afec-84e592fe6d76"},{"name":"create Webhook Endpoint","id":"e056abb5-9dab-4ff1-a6c7-d56bda776879","request":{"method":"POST","header":[],"url":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id/webhook_endpoints","description":"<p>Create a payment gateway webhook endpoint</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}},"urlObject":{"path":["payment_gateways",":payment_gateway_id","webhook_endpoints"],"host":["https://www.appibase.com/2/api/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Payment Gateway ID.</p>\n","type":"text/plain"},"type":"any","value":"{{payment_gateway_id}}","key":"payment_gateway_id"}]}},"response":[{"id":"13bb5ff6-a499-42e3-ad5b-d8f3e87eb69e","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id/webhook_endpoints","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id","webhook_endpoints"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"data\": {\n  \"id\": 9873458734,\n  \"type\": \"payment_gateway\",\n  \"attributes\": {\n   \"name\": \"Stripe - Store Name\",\n   \"gateway\": \"stripe\",\n   \"public_key\": \"pk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"private_key\": \"sk_test_51K22QJFM0ngJxHwlJIMU1gWAlKUX9ceEohqjPRTMSX1819Xj0024bh0g2Y\",\n   \"webhook_endpoint_id\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_url\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"webhook_endpoint_secret\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"created_at\": \"2021-06-25T12:00:00.000Z\",\n   \"updated_at\": \"2021-06-25T12:00:00.000Z\"\n  }\n }\n}"},{"id":"8ac47a6d-3af5-4cf6-a713-351fa05bfcad","name":"Errors response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://www.appibase.com/2/api/v1/payment_gateways/:payment_gateway_id/webhook_endpoints","host":["https://www.appibase.com/2/api/v1"],"path":["payment_gateways",":payment_gateway_id","webhook_endpoints"],"variable":[{"key":"account_id","value":"2","description":"Account ID e.g. 2 (This can only be one of 2)"},{"key":"payment_gateway_id","value":"9873458734","description":"(Required) Payment Gateway ID."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"cookie":[],"responseTime":null,"body":"{\n \"errors\": [\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  },\n  {\n   \"detail\": \"You are not authorized to perform this action or access this endpoint.\",\n   \"status\": \"403\",\n   \"title\": \"Forbidden\",\n   \"source\": null\n  }\n ]\n}"}],"_postman_id":"e056abb5-9dab-4ff1-a6c7-d56bda776879"}],"id":"1e629319-f366-428c-a23f-d9379df50837","description":"<p>Paying for an order via a payment gateway creates transaction records.</p>\n","_postman_id":"1e629319-f366-428c-a23f-d9379df50837","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","id":"af0448f5-7e9f-48ec-92f2-ed8d9ff98133","name":"Appibase API Reference","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"b3f2b3a1-f980-4853-b09b-681d72a46028","type":"text/javascript","exec":["// Skip the rest of the script of no environment is set","if (!pm.environment.has(\"skip_script\")) {","  return;","}","// throw new Error(\"Pre-script has not been skipped!\");","// Refresh the access token if necessary","const now = Date.parse(new Date()) / 1000; // in seconds","let created_at = pm.environment.get(\"created_at\");","if (!created_at) {","  created_at = Date.parse(new Date(2010,1,1)) / 1000; // in seconds","}","let expires_in = pm.environment.get(\"expires_in\");","if (!expires_in) {","  expires_in = 7200; // Set default expiration time to 2 hours, in seconds","}","if((now - created_at) >= expires_in) {","  const client_id = pm.environment.get('client_id');","  const client_secret = pm.environment.get('client_secret');","  const base64 = btoa(`${client_id}:${client_secret}`);","  // const tokenUrl = `${pm.environment.get('url')}/oauth/token`;","  const tokenUrl = pm.environment.replaceIn(\"{{tokenUrl}}\");","  pm.sendRequest({","    url:  tokenUrl,","    method: 'POST',","    header: {","      'Accept': 'application/json',","      'Content-Type': 'application/x-www-form-urlencoded',","      'Authorization': `Basic ${base64}`","    },","    body: {","      mode: \"urlencoded\",","      urlencoded: [","        { key: \"grant_type\", value: \"refresh_token\", disabled: false },","        { key: \"refresh_token\", value: pm.environment.get(\"refresh_token\"), disabled: false }","      ]","    }","  }, (err, res) => {","    if (err) {","      console.log(err);","    } else if (res) {","      pm.environment.set(\"access_token\", res.json().access_token);","      pm.environment.set(\"refresh_token\", res.json().refresh_token);","      pm.environment.set(\"created_at\", res.json().created_at);","      pm.environment.set(\"expires_in\", res.json().expires_in);","    }","  });","}","","// Refresh the client access token if necessary","// const now = Date.parse(new Date()) / 1000; // in seconds","let created_at_client = pm.environment.get(\"created_at_client\");","if (!created_at_client) {","  created_at_client = Date.parse(new Date(2010,1,1)) / 1000; // in seconds","}","// let expires_in = pm.environment.get(\"expires_in\");","// if (!expires_in) {","//   expires_in = 7200; // Set default expiration time to 2 hours, in seconds","// }","if((now - created_at_client) >= expires_in) {","  const client_id_storefront = pm.environment.get('client_id_storefront');","  const client_secret_storefront = \"\";","  const base64_storefront = btoa(`${client_id_storefront}:${client_secret_storefront}`);","  // const tokenUrl = `${pm.environment.get('url')}/oauth/token`;","  const tokenUrl = pm.environment.replaceIn(\"{{tokenUrl}}\");","  pm.sendRequest({","    url:  tokenUrl,","    method: 'POST',","    header: {","      'Accept': 'application/json',","      'Content-Type': 'application/x-www-form-urlencoded',","      'Authorization': `Basic ${base64_storefront}`","    },","    body: {","      mode: \"urlencoded\",","      urlencoded: [","        { key: \"grant_type\", value: \"client_credentials\", disabled: false },","        { key: \"scope\", value: pm.environment.get(\"storefront_scope_client\"), disabled: false }","      ]","    }","  }, (err, res) => {","    if (err) {","      console.log(err);","    } else if (res) {","      pm.environment.set(\"access_token_client\", res.json().access_token);","      pm.environment.set(\"created_at_client\", res.json().created_at);","    }","  });","}"]}},{"listen":"test","script":{"id":"4be224bc-de4c-4943-9788-c41c67ae2b0d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"account_id","value":"2","type":"any"},{"key":"baseUrl","value":"https://www.appibase.com/2/api/v1","type":"string"}]}