[{"data":1,"prerenderedAt":572},["ShallowReactive",2],{"bootstrap":3,"blog-introducing-our-new-postman-workspace":277},{"navigation":4,"globalConfig":196,"forms":218},{"headerSections":5,"headerFooterLinks":67,"footer":76,"legalLinks":153,"socialLinks":176},[6,39,44,50,57,62],{"hasSubMenu":7,"title":8,"links":9,"columns":38},true,"Product",[10,20,26,32],{"showTag":11,"_modelApiKey":12,"text":13,"subtitle":14,"icon":15,"isExternal":11,"link":16,"openForm":11},false,"navigation_link","Universal checkout","Sell anywhere","globe-simple",{"_modelApiKey":17,"slug":18,"title":19},"page","universal-checkout","Universal Checkout",{"showTag":11,"_modelApiKey":12,"text":21,"subtitle":22,"icon":23,"isExternal":11,"link":24,"openForm":11},"Distributed OMS","Manage orders","package",{"_modelApiKey":17,"slug":25,"title":21},"distributed-oms",{"showTag":11,"_modelApiKey":12,"text":27,"subtitle":28,"icon":29,"isExternal":11,"link":30,"openForm":11},"Promotion engine","Automated discounts","seal-percent",{"_modelApiKey":17,"slug":31,"title":27},"promotion-engine",{"showTag":11,"_modelApiKey":12,"text":33,"subtitle":34,"icon":35,"isExternal":11,"link":36,"openForm":11},"POS system","Operate stores","devices",{"_modelApiKey":17,"slug":37,"title":33},"pos-system",2,{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":40,"isExternal":11,"link":41,"openForm":11,"title":40},"Pricing",{"_modelApiKey":42,"slug":43},"pricing_page","pricing",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":45,"isExternal":11,"link":46,"openForm":11,"title":45},"Customers",{"_modelApiKey":47,"slug":48,"title":49},"customer_landing_page","customers","Customers page",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":51,"isExternal":11,"link":52,"openForm":11,"form":54,"title":51},"Partners",{"_modelApiKey":17,"slug":53,"title":51},"partners",{"_modelApiKey":55,"slug":53,"name":56},"form","PartnersForm",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":58,"label":59,"isExternal":7,"url":60,"openForm":11,"title":61},"Docs Hub","Learn more","https:\u002F\u002Fdocs.commercelayer.io\u002F","Docs",{"hasSubMenu":11,"showTag":11,"_modelApiKey":12,"text":63,"isExternal":11,"link":64,"openForm":11,"title":63},"Blog",{"_modelApiKey":65,"slug":66},"blog_landing_page","blog",[68,72],{"text":69,"link":70},"Sign in",{"_modelApiKey":12,"text":69,"isExternal":7,"url":71,"openForm":11},"https:\u002F\u002Fdashboard.commercelayer.io\u002Fsign_in",{"text":73,"link":74},"Sign up for free",{"_modelApiKey":12,"text":73,"isExternal":7,"url":75,"openForm":11},"https:\u002F\u002Fdashboard.commercelayer.io\u002Fsign_up",[77,89,109,132],{"hasSubMenu":7,"title":8,"links":78},[79,81,83,85,87],{"showTag":11,"_modelApiKey":12,"text":13,"subtitle":14,"icon":15,"isExternal":11,"link":80,"openForm":11},{"_modelApiKey":17,"slug":18,"title":19},{"showTag":11,"_modelApiKey":12,"text":21,"subtitle":22,"icon":23,"isExternal":11,"link":82,"openForm":11},{"_modelApiKey":17,"slug":25,"title":21},{"showTag":11,"_modelApiKey":12,"text":27,"subtitle":28,"icon":29,"isExternal":11,"link":84,"openForm":11},{"_modelApiKey":17,"slug":31,"title":27},{"showTag":11,"_modelApiKey":12,"text":33,"subtitle":34,"icon":35,"isExternal":11,"link":86,"openForm":11},{"_modelApiKey":17,"slug":37,"title":33},{"showTag":11,"_modelApiKey":12,"text":40,"isExternal":11,"link":88,"openForm":11},{"_modelApiKey":42,"slug":43},{"hasSubMenu":7,"title":90,"links":91},"Resources",[92,94,99,104,107],{"showTag":11,"_modelApiKey":12,"text":93,"isExternal":7,"url":60,"openForm":11},"Documentation",{"showTag":11,"_modelApiKey":12,"text":95,"label":95,"isExternal":11,"link":96,"openForm":11},"Agentic Commerce",{"_modelApiKey":17,"slug":97,"title":98},"agentic-commerce-whitepaper","Agentic Commerce Whitepaper",{"showTag":11,"_modelApiKey":12,"text":100,"isExternal":11,"link":101,"openForm":11},"Core concepts",{"_modelApiKey":17,"slug":102,"title":103},"headless-commerce","Headless commerce",{"showTag":11,"_modelApiKey":12,"text":105,"isExternal":7,"url":106,"openForm":11},"Changelog","https:\u002F\u002Fdocs.commercelayer.io\u002Fchangelog\u002F",{"showTag":11,"_modelApiKey":12,"text":63,"isExternal":11,"link":108,"openForm":11},{"_modelApiKey":65,"slug":66},{"hasSubMenu":7,"title":110,"links":111},"Company",[112,116,118,121,126],{"showTag":11,"_modelApiKey":12,"text":113,"isExternal":11,"link":114,"openForm":11},"Vision",{"_modelApiKey":17,"slug":115,"title":113},"vision",{"showTag":11,"_modelApiKey":12,"text":45,"isExternal":11,"link":117,"openForm":11},{"_modelApiKey":47,"slug":48,"title":49},{"showTag":11,"_modelApiKey":12,"text":51,"isExternal":11,"link":119,"openForm":11,"form":120},{"_modelApiKey":17,"slug":53,"title":51},{"_modelApiKey":55,"slug":53,"name":56},{"showTag":11,"_modelApiKey":12,"text":122,"isExternal":11,"link":123,"openForm":11},"Security",{"_modelApiKey":17,"slug":124,"title":125},"security","Security at Commerce Layer",{"showTag":11,"_modelApiKey":12,"text":127,"label":128,"isExternal":11,"openForm":7,"form":129},"Giveback","Giveback program",{"_modelApiKey":55,"slug":130,"name":131},"giveback","GivebackForm",{"hasSubMenu":7,"title":133,"links":134},"Get in touch",[135,140,145,149],{"showTag":11,"_modelApiKey":12,"text":136,"isExternal":11,"openForm":7,"form":137},"Contact",{"_modelApiKey":55,"slug":138,"name":139},"contact","ContactUsForm",{"showTag":11,"_modelApiKey":12,"text":141,"isExternal":11,"openForm":7,"form":142},"Book a demo",{"_modelApiKey":55,"slug":143,"name":144},"demo","RequestDemoForm",{"showTag":11,"_modelApiKey":12,"text":146,"label":147,"isExternal":7,"url":148,"openForm":11},"Support","Email support","mailto:support@commercelayer.io",{"showTag":11,"_modelApiKey":12,"text":150,"label":151,"isExternal":7,"url":152,"openForm":11},"Community","Discord community","https:\u002F\u002Fdiscord.gg\u002Fcommercelayer",{"hasSubMenu":7,"title":154,"links":155},"Legal",[156,161,165,169,173],{"showTag":11,"_modelApiKey":12,"text":157,"label":158,"isExternal":7,"url":159,"openForm":11,"htmlClassNames":160},"Terms","Terms and conditions","\u002Flegal-embed\u002Fterms-of-service","iubenda-nostyle no-brand iubenda-noiframe iubenda-embed",{"showTag":11,"_modelApiKey":12,"text":162,"label":163,"isExternal":7,"url":164,"openForm":11,"htmlClassNames":160},"Privacy","Privacy policy","\u002Flegal-embed\u002Fprivacy-policy",{"showTag":11,"_modelApiKey":12,"text":166,"label":167,"isExternal":7,"url":168,"openForm":11,"htmlClassNames":160},"Cookies","Cookie policy","\u002Flegal-embed\u002Fcookie-policy",{"showTag":11,"_modelApiKey":12,"text":170,"isExternal":7,"url":171,"openForm":11,"htmlClassNames":172},"Notice at collection","#","iubenda-cs-uspr-link",{"showTag":11,"_modelApiKey":12,"text":174,"isExternal":7,"url":171,"openForm":11,"htmlClassNames":175},"Privacy preferences","iubenda-cs-preferences-link",[177,180,184,188,192],{"title":178,"type":179,"url":152,"isExternal":7},"Discord","discord-logo",{"title":181,"type":182,"url":183,"isExternal":7},"Github","github","https:\u002F\u002Fgithub.com\u002Fcommercelayer",{"title":185,"type":186,"url":187,"isExternal":7},"Bluesky","bluesky-logo","https:\u002F\u002Fbsky.app\u002Fprofile\u002Fcommercelayer.io",{"title":189,"type":190,"url":191,"isExternal":7},"X","x-logo","https:\u002F\u002Fx.com\u002Fcommercelayer",{"title":193,"type":194,"url":195,"isExternal":7},"LinkedIn","linkedin","https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fcommerce-layer",{"pagesWithoutCtaPanel":197,"ctaPanel":198,"notification":208,"showApiResponseTime":11,"newsletterSignup":216},[],{"title":199,"subtitle":200,"ctas":201},"Ready to get started?","Discover how we can help your business.",[202,205],{"_modelApiKey":203,"text":204,"isExternal":7,"url":75,"openForm":11},"link","Get started for free",{"_modelApiKey":203,"text":206,"isExternal":11,"openForm":7,"form":207},"Contact us",{"_modelApiKey":55,"slug":138,"name":139},{"showNotification":7,"link":209,"linkText":210,"text":215},{"_modelApiKey":203,"text":210,"isExternal":11,"link":211,"openForm":11},"Read article",{"_modelApiKey":212,"slug":213,"title":214},"blog_post","payment-api-redesigned","Introducing our new Payments API. For humans and agents.","\u003Cp>Introducing our new Payments API. For humans and agents.\u003C\u002Fp>\n",{"ctaText":217},"Subscribe",[219,225,229,236,240,246,249,253,261,262,267,272,274],{"_modelApiKey":55,"slug":220,"pardotFormEmbedCode":221,"formEmbedMinHeight":222,"successTitle":223,"successCopy":224},"agentic-commerce","https:\u002F\u002Fcommercelayer.fillout.com\u002Ft\u002F5w4Khwgxr6us?whitepaper=agentic",520,"Thank you for your request!","We’ll be in touch soon to arrange a date and time for your personalized demo.",{"_modelApiKey":55,"slug":226,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"successTitle":223,"successCopy":224},"shopify","https:\u002F\u002Fform.fillout.com\u002Ft\u002FgVnLSmKZwRus",850,{"_modelApiKey":55,"slug":130,"pardotFormEmbedCode":230,"formEmbedMinHeight":231,"displayTitle":232,"copy":233,"successTitle":234,"successCopy":235},"https:\u002F\u002Fform.fillout.com\u002Ft\u002FmVDF8aAiofus",500,"We give back.","\u003Cp>Part of Commerce Layer&#39;s company ethos is to empathize and support one another: co-workers, customers, and community. We want to do our part to help nonprofit organizations and small businesses who may feel adversely affected by the current global economic climate, and as a result, need in-kind support to reach their customers.\u003C\u002Fp>\n\n\u003Cp>If this general description matches your organization’s needs, please tell us your story by completing the following form so we can consider helping your cause.\u003C\u002Fp>\n","Thank you!","We will contact you soon to learn more about your story.",{"_modelApiKey":55,"slug":237,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"displayTitle":238,"copy":239},"book-an-onboarding-session","Book an onboarding session","\u003Cp>Schedule some time and our devs will help you set up a Commerce Layer + Sanity store.\u003C\u002Fp>\n",{"_modelApiKey":55,"slug":241,"pardotFormEmbedCode":242,"formEmbedMinHeight":243,"displayTitle":244,"successTitle":234,"successCopy":245},"download-our-whitepaper","https:\u002F\u002Fform.fillout.com\u002Ft\u002F5YPWmy8oT7us?whitepaper=ComposableCommerce",450,"Download our whitepaper.","Check your inbox. You should receive a download link soon.",{"_modelApiKey":55,"slug":247,"pardotFormEmbedCode":248,"formEmbedMinHeight":243,"displayTitle":244,"successTitle":234,"successCopy":245},"download-the-content-and-commerce-whitepaper","https:\u002F\u002Fform.fillout.com\u002Ft\u002F5YPWmy8oT7us?whitepaper=ContentAndCommerce",{"_modelApiKey":55,"slug":250,"pardotFormEmbedCode":251,"formEmbedMinHeight":243,"displayTitle":244,"copy":252,"successTitle":234,"successCopy":245},"whitepaper","https:\u002F\u002Fform.fillout.com\u002Ft\u002F5YPWmy8oT7us?whitepaper=Jamstack","\u003Cp>Commerce Layer is the perfect platform for building commerce on the Jamstack. Convert any design into pixel perfect HTML pages. Connect a best-of-breed headless CMS. Go serverless and forget the hassle of managing complex infrastructures.\u003C\u002Fp>\n",{"_modelApiKey":55,"slug":254,"pardotFormEmbedCode":255,"formEmbedMinHeight":256,"displayTitle":257,"copy":258,"successTitle":259,"successCopy":260},"contact-links","https:\u002F\u002Fform.fillout.com\u002Ft\u002FeWPyhHGHT7us",750,"Contact us.","\u003Cp>Tell us about your project. Our team will reach out to you for a personalized offer.\u003C\u002Fp>\n","Thanks for your message!","We’ll be in touch soon to discuss your project details.",{"_modelApiKey":55,"slug":138,"pardotFormEmbedCode":255,"formEmbedMinHeight":256,"displayTitle":257,"copy":258,"successTitle":259,"successCopy":260},{"_modelApiKey":55,"slug":263,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"displayTitle":264,"successTitle":265,"successCopy":266},"demo-embed","Want to see it in action? Request a demo.","Thanks for your request!","We’ll be in touch soon to arrange a date and time for your free live demo.",{"_modelApiKey":55,"slug":53,"pardotFormEmbedCode":268,"formEmbedMinHeight":228,"displayTitle":269,"copy":270,"successTitle":234,"successCopy":271},"https:\u002F\u002Fform.fillout.com\u002Ft\u002F9MTkDWMUSqus","Become our partner.","\u003Cp>Join us and get our guidance in helping your clients succeed. Our partners are our ambassadors. We are committed to your success as much as you are.\u003C\u002Fp>\n","We will contact you soon to discuss the details of our partnership.",{"_modelApiKey":55,"slug":273,"pardotFormEmbedCode":268,"formEmbedMinHeight":228,"displayTitle":269,"copy":270,"successTitle":234,"successCopy":271},"partners-embed",{"_modelApiKey":55,"slug":143,"pardotFormEmbedCode":227,"formEmbedMinHeight":228,"displayTitle":275,"copy":276,"successTitle":265,"successCopy":266},"Get a free live demo.","\u003Cp>Get a personalized demo and learn more about what Commerce Layer can do for your company.\u003C\u002Fp>\n",{"_modelApiKey":212,"link":278,"subtitle":283,"date":283,"author":284,"additionalAuthors":294,"icon":295,"abstract":296,"tag":297,"displayTitle":279,"cardRatio":299,"featured":11,"seoMetaTags":300,"layout":364,"blogPostCarousel":467,"_seoMetaTags":533,"authors":567},{"text":279,"isExternal":11,"url":280,"link":281},"Introducing our new Postman workspace.","",{"_modelApiKey":212,"slug":282},"introducing-our-new-postman-workspace","August 24, 2022",{"name":285,"picture":286},"Bolaji Ayodeji",{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":291,"customData":293},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1643036479-bolaji.jpg","Bolaji Ayodeji — Developer Advocate at Commerce Layer",1280,"jpg",{"x":292,"y":292},0.5,{},[],"rocket","In addition to our existing train of developer tools, we have revamped our existing Postman collection. In this article, we will explore our new Postman workspace and show you how to get started with it.",{"color":298,"name":8},"gray","portrait",[301,305,309,312,316,319,322,326,330,334,337,341,345,349,353,356,360],{"attributes":302,"tag":303,"content":304},null,"title","Introducing Commerce Layer's New Postman Workspace",{"attributes":306,"tag":308,"content":302},{"property":307,"content":304},"og:title","meta",{"attributes":310,"tag":308,"content":302},{"name":311,"content":304},"twitter:title",{"attributes":313,"tag":308,"content":302},{"name":314,"content":315},"description","In addition to our existing set of developer tools, we have revamped our existing Postman collection so that you can get started and test our APIs efficiently.",{"attributes":317,"tag":308,"content":302},{"property":318,"content":315},"og:description",{"attributes":320,"tag":308,"content":302},{"name":321,"content":315},"twitter:description",{"attributes":323,"tag":308,"content":302},{"property":324,"content":325},"og:image","https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661250704-introducing-postman-collection.jpg?auto=format&fit=max&w=1200",{"attributes":327,"tag":308,"content":302},{"property":328,"content":329},"og:image:width","1200",{"attributes":331,"tag":308,"content":302},{"property":332,"content":333},"og:image:height","630",{"attributes":335,"tag":308,"content":302},{"name":336,"content":325},"twitter:image",{"attributes":338,"tag":308,"content":302},{"property":339,"content":340},"og:locale","en",{"attributes":342,"tag":308,"content":302},{"property":343,"content":344},"og:type","article",{"attributes":346,"tag":308,"content":302},{"property":347,"content":348},"og:site_name","Commerce Layer",{"attributes":350,"tag":308,"content":302},{"property":351,"content":352},"article:modified_time","2025-10-08T16:21:22Z",{"attributes":354,"tag":308,"content":302},{"property":355,"content":280},"article:publisher",{"attributes":357,"tag":308,"content":302},{"name":358,"content":359},"twitter:card","summary_large_image",{"attributes":361,"tag":308,"content":302},{"name":362,"content":363},"twitter:site","@commercelayer",[365,371,379,382,393,396,402,405,410,413,421,424,430,433,438,441,448,451,458,461],{"_modelApiKey":366,"copy":367,"listStyle":368,"darkTheme":11,"buttons":369,"color":370,"indent":7},"wysiwyg","\u003Cp>Commerce Layer is built for developers. Every day, we work hard to ensure that developers building with Commerce Layer have a better developer experience than they had yesterday, making their work more efficient. In addition to our existing train of developer tools, we have revamped our existing Postman collection, and we’re happy to announce our \u003Ca href=\"https:\u002F\u002Fpostman.com\u002Fcommercelayer\" target=\"_blank\" rel=\"noopener noreferrer\">new Postman page\u003C\u002Fa>. With this update, you can fork our collections, watch for changes, get notified when something changes, and test our APIs with Postman efficiently. Most developers already know what Postman is. But if you don’t yet: \u003Ca href=\"https:\u002F\u002Fpostman.com\" target=\"_blank\" rel=\"noopener noreferrer\">Postman\u003C\u002Fa> is an API developer tool with quite some useful features used by millions of developers to build and test APIs. In this article, we will explore the new workspace and show you how to get started with it.\u003C\u002Fp>\n","directional",[],"violet",{"_modelApiKey":372,"title":373,"preTitle":374,"linkText":375,"darkTheme":11,"link":376},"link_block","Commerce Layer API Collections","Public API Network","View on Postman",{"_modelApiKey":203,"text":377,"label":280,"subtitle":280,"icon":280,"isExternal":7,"url":378,"link":302,"anchor":280,"openForm":11,"form":302,"htmlClassNames":280},"Commerce Layer Postman Page","https:\u002F\u002Fpostman.com\u002Fcommercelayer",{"_modelApiKey":366,"copy":380,"listStyle":368,"darkTheme":11,"buttons":381,"color":370,"indent":11},"\u003Ch3>Getting started\u003C\u002Fh3>\n\n\u003Cp>Our new \u003Ca href=\"https:\u002F\u002Fpostman.com\u002Fcommercelayer\u002Fworkspace\u002Fcommerce-layer-public-workspace\" target=\"_blank\" rel=\"noopener noreferrer\">public workspace\u003C\u002Fa> is searchable and accessible through the Postman \u003Ca href=\"https:\u002F\u002Fpostman.com\u002Fexplore\" target=\"_blank\" rel=\"noopener noreferrer\">Public API Network\u003C\u002Fa>. In the workspace, you will find our collection named \u003Ccode>Commerce Layer API (2022-06-30)\u003C\u002Fcode> with a dynamic ISO date suffix that changes whenever a new release is pushed. This collection includes \u003Ccode>List\u003C\u002Fcode>, \u003Ccode>Create\u003C\u002Fcode>, \u003Ccode>Retrieve\u003C\u002Fcode>, \u003Ccode>Update\u003C\u002Fcode>, and \u003Ccode>Delete\u003C\u002Fcode> API documentation and request sandbox for \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fdevelopers\u002Fv\u002Fapi-reference\" target=\"_blank\" rel=\"noopener noreferrer\">all the resources\u003C\u002Fa> supported by our API.\u003C\u002Fp>\n",[],{"_modelApiKey":383,"border":11,"caption":280,"image":384,"size":392,"darkTheme":11,"rounded":7,"color":370},"image_block",{"url":385,"alt":386,"title":386,"width":387,"height":388,"format":389,"focalPoint":390,"customData":391},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661252511-screenshot-2022-06-08-at-5-30-45-am.png","Commerce Layer postman page",1320,1077,"png",{"x":292,"y":292},{},"standard",{"_modelApiKey":366,"copy":394,"listStyle":368,"darkTheme":11,"buttons":395,"color":370,"indent":11},"\u003Cp>In the following steps, we’ll show you how to get started with using our Postman collection.\u003C\u002Fp>\n\n\u003Ch5>1. Visit the \u003Ca href=\"https:\u002F\u002Fpostman.com\u002Fcommercelayer\" target=\"_blank\" rel=\"noopener noreferrer\">Postman page\u003C\u002Fa> and select the “Commerce Layer API” collection.\u003C\u002Fh5>\n\n\u003Ch5>2. Click on the “Fork” icon to fork the collection into your personal Postman account.\u003C\u002Fh5>\n",[],{"_modelApiKey":383,"border":11,"caption":280,"image":397,"size":392,"darkTheme":11,"rounded":7,"color":370},{"url":398,"alt":399,"title":399,"width":387,"height":388,"format":389,"focalPoint":400,"customData":401},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661252844-screenshot-2022-06-08-at-5-38-04-am.png","Commerce Layer API collection page",{"x":292,"y":292},{},{"_modelApiKey":366,"copy":403,"listStyle":368,"darkTheme":11,"buttons":404,"color":370,"indent":11},"\u003Ch5>3. Enter a name for your fork, select a workspace to fork into (this can be your personal or team workspace), and ensure to check the “Watch original collection” box. This will enable you to receive notifications in Postman when there are changes to the original collection.\u003C\u002Fh5>\n",[],{"_modelApiKey":383,"border":11,"caption":280,"image":406,"size":392,"darkTheme":11,"rounded":7,"color":370},{"url":407,"alt":399,"title":399,"width":387,"height":388,"format":389,"focalPoint":408,"customData":409},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661253078-screenshot-2022-06-08-at-5-49-23-am.png",{"x":292,"y":292},{},{"_modelApiKey":366,"copy":411,"listStyle":368,"darkTheme":11,"buttons":412,"color":370,"indent":11},"\u003Cp>After clicking the “Fork Collection” button, the fork process will begin and you can view the fork in your workspace.\u003C\u002Fp>\n\n\u003Ch3>Make API requests\u003C\u002Fh3>\n\n\u003Cp>All requests to Commerce Layer API must be authenticated with an \u003Ca href=\"https:\u002F\u002Foauth.net\u002F2\" target=\"_blank\" rel=\"noopener noreferrer\">OAuth2\u003C\u002Fa> bearer token. To get an access token, you need to execute an authorization flow using a valid application type as the client. Each application type has its usage, authentication flow, and permissions. There are three application types: \u003Cstrong>sales channel,\u003C\u002Fstrong> \u003Cstrong>integration\u003C\u002Fstrong>, and \u003Cstrong>webapp\u003C\u002Fstrong>. Each of these applications can be authenticated with different authorization grant flows using the available authorization grant types as described in the table below:\u003C\u002Fp>\n",[],{"_modelApiKey":383,"border":7,"caption":280,"image":414,"size":392,"darkTheme":11,"rounded":7,"color":370},{"url":415,"alt":416,"title":416,"width":417,"height":418,"format":419,"focalPoint":302,"customData":420},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1649756685-authorization-flows-table.svg","Authorization flows table",1660,545,"svg",{},{"_modelApiKey":366,"copy":422,"listStyle":368,"darkTheme":11,"buttons":423,"color":370,"indent":11},"\u003Cul>\n\u003Cli>The \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fdevelopers\u002Fauthentication\u002Fclient-credentials\" target=\"_blank\" rel=\"noopener noreferrer\">client credentials\u003C\u002Fa> grant type gives you a &quot;guest&quot; access token to both sales channel and integration applications.\u003C\u002Fli>\n\u003Cli>The \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fdevelopers\u002Fauthentication\u002Fpassword\" target=\"_blank\" rel=\"noopener noreferrer\">password\u003C\u002Fa> grant type gives you an access token to sales channel applications in exchange for customer credentials.\u003C\u002Fli>\n\u003Cli>The \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fdevelopers\u002Fauthentication\u002Fauthorization-code\" target=\"_blank\" rel=\"noopener noreferrer\">authorization code\u003C\u002Fa> grant type is used by backend applications to exchange an authorization code for an access token.\u003C\u002Fli>\n\u003Cli>The \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fdevelopers\u002Fauthentication\u002Frefresh-token\" target=\"_blank\" rel=\"noopener noreferrer\">refresh token\u003C\u002Fa> grant type is used by clients to exchange a refresh token for an expired access token.\u003C\u002Fli>\n\u003C\u002Ful>\n\n\u003Cp>Each access token generated based on the application types gets a specific set of permissions. For example, sales channel applications can read resource lists only for SKUs, SKU options, prices, promotions, and bundles. Anything outside this will require another application type. You can read the documentation to learn more about the available \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fdevelopers\u002Froles-and-permissions\" target=\"_blank\" rel=\"noopener noreferrer\">roles and permissions\u003C\u002Fa> or for further information on \u003Ca href=\"https:\u002F\u002Fdocs.commercelayer.io\u002Fapi\u002Fauthentication\" target=\"_blank\" rel=\"noopener noreferrer\">authentication\u003C\u002Fa> with Commerce Layer APIs. We also have a \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcommercelayer\u002Fcommercelayer-js-auth\" target=\"_blank\" rel=\"noopener noreferrer\">JavaScript authentication library\u003C\u002Fa> you can easily use to generate any type of access token.\u003C\u002Fp>\n\n\u003Cp>To make it easier to make requests across all the resources with the same credentials, you can create an Environment to use across the forked collection following the steps below.\u003C\u002Fp>\n\n\u003Ch5>1. Click on the “Environments” tab and click on “Create Environment” at the top left corner of the page.\u003C\u002Fh5>\n\n\u003Ch5>2. Fill out the form and add a \u003Ccode>subdomain\u003C\u002Fcode> and \u003Ccode>access_token\u003C\u002Fcode> variable with your Commerce Layer organization slug and access token.\u003C\u002Fh5>\n",[],{"_modelApiKey":383,"border":11,"caption":280,"image":425,"size":392,"darkTheme":11,"rounded":7,"color":370},{"url":426,"alt":399,"title":399,"width":427,"height":388,"format":389,"focalPoint":428,"customData":429},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661253270-screenshot-2022-06-08-at-6-44-05-am.png",1434,{"x":292,"y":292},{},{"_modelApiKey":366,"copy":431,"listStyle":368,"darkTheme":11,"buttons":432,"color":370,"indent":11},"\u003Ch5>3. Click on the “💾  Save” icon to save the environment variables you have created.\u003C\u002Fh5>\n\n\u003Ch5>4. You can also edit the name of the Environment by highlighting the existing “New Environment” name just above the form. You will see an edit icon you can click on to enter a new name.\u003C\u002Fh5>\n\n\u003Cp>If everything is added correctly, you can head back to the collection, select the environment and begin making use of the collection. For example, I just used the SKU resources to List all SKUs, and all I had to do was hit the “Send” button.\u003C\u002Fp>\n",[],{"_modelApiKey":383,"border":11,"caption":280,"image":434,"size":392,"darkTheme":11,"rounded":7,"color":370},{"url":435,"alt":399,"title":399,"width":427,"height":388,"format":389,"focalPoint":436,"customData":437},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661253323-screenshot-2022-06-08-at-6-47-02-am.png",{"x":292,"y":292},{},{"_modelApiKey":366,"copy":439,"listStyle":368,"darkTheme":11,"buttons":440,"color":370,"indent":11},"\u003Ch3>Pull changes\u003C\u002Fh3>\n\n\u003Cp>Just like GitHub, with Postman, you can send pull requests with new changes, merge pull requests, and pull changes from the source collection. When you receive a notification that we have released a new version of our collection, you can follow the steps below to pull in the changes.\u003C\u002Fp>\n\n\u003Col>\n\u003Cli>Click on the collection you forked.\u003C\u002Fli>\n\u003Cli>You will find a button with three dots somewhere after the share button. Click on that and select “Pull changes” from the dropdown list (PS: this option will only be clickable when there are changes to pull.\u003C\u002Fli>\n\u003Cli>You can also select “View Changelog” to see what has changed.\u003C\u002Fli>\n\u003Cli>Explore the new changes if you want and click the “Pull changes” button.\u003C\u002Fli>\n\u003Cli>After some time, the changes would be pulled in!\u003C\u002Fli>\n\u003C\u002Fol>\n",[],{"_modelApiKey":383,"border":11,"caption":280,"image":442,"size":392,"darkTheme":11,"rounded":7,"color":370},{"url":443,"alt":399,"title":399,"width":444,"height":445,"format":389,"focalPoint":446,"customData":447},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1661253585-screenshot-2022-08-19-at-7-09-28-am.png",1363,1040,{"x":292,"y":292},{},{"_modelApiKey":366,"copy":449,"listStyle":368,"darkTheme":11,"buttons":450,"color":370,"indent":11},"\u003Ch3>Conclusion\u003C\u002Fh3>\n\n\u003Cp>Our Postman collection is a great way for you to explore Commerce Layer as a new user and see what the data from our API resources look like. As an existing developer, you can also use the collection to test certain resources and validate the expected data\u002Fheaders before making the actual request in your application using our \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcommercelayer\u002Fcommercelayer-sdk\" target=\"_blank\" rel=\"noopener noreferrer\">JavaScript SDK\u003C\u002Fa>, for example.\u003C\u002Fp>\n",[],{"_modelApiKey":372,"title":452,"preTitle":453,"linkText":454,"darkTheme":11,"link":455},"Commerce Layer JS SDK","Open-source","View on GitHub",{"_modelApiKey":203,"text":456,"label":280,"subtitle":280,"icon":280,"isExternal":7,"url":457,"link":302,"anchor":280,"openForm":11,"form":302,"htmlClassNames":280},"JS SDK","https:\u002F\u002Fgithub.com\u002Fcommercelayer\u002Fcommercelayer-sdk",{"_modelApiKey":366,"copy":459,"listStyle":368,"darkTheme":11,"buttons":460,"color":370,"indent":11},"\u003Cp>If you’re a visual person, you can watch the short video below that summarises all the steps we discussed earlier.\u003C\u002Fp>\n",[],{"id":462,"_modelApiKey":463,"border":7,"caption":280,"rounded":7,"size":392,"video":464},"123828101","video",{"videoId":465,"videoProvider":466,"videoPoster":302},"LdFHjM-m8fo","youtube",{"displayTitle":468,"cta":302,"ctaText":280,"cards":469},"Your next read",[470,486,501,518],{"_modelApiKey":212,"link":471,"subtitle":475,"date":475,"author":476,"additionalAuthors":480,"icon":481,"abstract":482,"tag":483,"displayTitle":472,"cardRatio":299,"featured":485},{"text":472,"isExternal":11,"url":280,"link":473},"Getting started with Commerce Layer JavaScript SDK.",{"_modelApiKey":212,"slug":474},"getting-started-with-commerce-layer-javascript-sdk","April 14, 2022",{"name":285,"picture":477},{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":478,"customData":479},{"x":292,"y":292},{},[],"code-block","Commerce Layer provides a JavaScript SDK that makes it quick and easy for developers to interact with our commerce APIs. In this article, we’ll look at some fundamental technical details about how it works.",{"color":298,"name":484},"Tutorials",0,{"_modelApiKey":212,"link":487,"subtitle":491,"date":491,"author":492,"additionalAuthors":496,"icon":497,"abstract":498,"tag":499,"displayTitle":488,"cardRatio":11,"featured":500},{"text":488,"isExternal":11,"url":280,"link":489},"Building an external payment gateway with the Twitter API.",{"_modelApiKey":212,"slug":490},"building-an-external-payment-gateway-with-twitter-api","August 17, 2022",{"name":285,"picture":493},{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":494,"customData":495},{"x":292,"y":292},{},[],"twitter-logo","We makes integrating with any local payment gateway like Twitter possible, allowing you to explore any option your customers demand. In this article, you will learn how to get started with our payment gateways, external payment gateways, and payment methods.",{"color":298,"name":484},1,{"_modelApiKey":212,"link":502,"subtitle":506,"date":506,"author":507,"additionalAuthors":514,"icon":515,"abstract":516,"tag":517,"displayTitle":503,"cardRatio":11,"featured":38},{"text":503,"isExternal":11,"url":280,"link":504},"How to build an external promotion using lambda functions.",{"_modelApiKey":212,"slug":505},"how-to-build-an-external-promotion-using-lambda-functions","July 15, 2022",{"name":508,"picture":509},"Fabrizio Picca",{"url":510,"alt":511,"title":511,"width":289,"height":289,"format":389,"focalPoint":512,"customData":513},"https:\u002F\u002Fwww.datocms-assets.com\u002F35053\u002F1614875259-commercelayeravatarsquare113f26.png","Fabrizio Picca —      Partnerships Manager at Commerce Layer",{"x":292,"y":292},{},[],"gift","This tutorial will give you a little taste of how powerful Commerce Layer external promotions feature is, by showing an example where we use an AWS Lambda function to trigger a special discount on a customer's birthday.",{"color":298,"name":484},{"_modelApiKey":212,"link":519,"subtitle":523,"date":523,"author":524,"additionalAuthors":528,"icon":529,"abstract":530,"tag":531,"displayTitle":520,"cardRatio":11,"featured":532},{"text":520,"isExternal":11,"url":280,"link":521},"How to build an international ecommerce website with Sanity and Commerce Layer.",{"_modelApiKey":212,"slug":522},"how-to-build-an-international-ecommerce-website-with-sanity-and-commerce-layer","April 6, 2022",{"name":285,"picture":525},{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":526,"customData":527},{"x":292,"y":292},{},[],"shapes","Learn how to integrate Sanity with Commerce Layer by looking at how we built our starter template using Sanity Studio, Next.js, and our React components library.",{"color":298,"name":484},3,[534,535,537,539,541,543,545,547,549,551,553,555,557,559,561,563,565],{"attributes":302,"tag":303,"content":304},{"attributes":536,"tag":308,"content":302},{"property":307,"content":304},{"attributes":538,"tag":308,"content":302},{"name":311,"content":304},{"attributes":540,"tag":308,"content":302},{"name":314,"content":315},{"attributes":542,"tag":308,"content":302},{"property":318,"content":315},{"attributes":544,"tag":308,"content":302},{"name":321,"content":315},{"attributes":546,"tag":308,"content":302},{"property":324,"content":325},{"attributes":548,"tag":308,"content":302},{"property":328,"content":329},{"attributes":550,"tag":308,"content":302},{"property":332,"content":333},{"attributes":552,"tag":308,"content":302},{"name":336,"content":325},{"attributes":554,"tag":308,"content":302},{"property":339,"content":340},{"attributes":556,"tag":308,"content":302},{"property":343,"content":344},{"attributes":558,"tag":308,"content":302},{"property":347,"content":348},{"attributes":560,"tag":308,"content":302},{"property":351,"content":352},{"attributes":562,"tag":308,"content":302},{"property":355,"content":280},{"attributes":564,"tag":308,"content":302},{"name":358,"content":359},{"attributes":566,"tag":308,"content":302},{"name":362,"content":363},[568],{"name":285,"picture":569},{"url":287,"alt":288,"title":288,"width":289,"height":289,"format":290,"focalPoint":570,"customData":571},{"x":292,"y":292},{},1790330005859]