Adding Postman collections for Sitecore Experience Commerce (SXC) 9

To debug or try out some requests towards Sitecore Experience Commerce (SXC) and it’s API, you can use Postman. Sitecore folks have prepared lot of collections and commands to help you out get started.

Before starting with any tasks described below, you need to download installation package for version of SXC that you are using.

For me it was the latest and greatest SXC 9 Update 1 for which installation package can be found here.

You need to choose appropriate package based on your installation. I have chosen “Packages for On Premises” as my installation was on premise.

sxcupgrade00

When download finishes, unpack downloaded zip file:

sxcupgrade00b

Extract “Sitecore.Commerce.Engine.SDK.2.1.10.zip” from installation package to separate folder.

sxcupgrade12

If you haven’t installed Postman so far, now it is the time. Use this link to download it and install it afterwards.

Open Postman and click “Import” button on the top, then “Import Folder” tab and “Choose Folders” button.

postmanscriptlocation

Select path to postman’s sub folder from newly extracted zip file (for me it was “Sitecore.Commerce.Engine.SDK.2.1.10\postman”) and hit “Select folder” button:

postmanscriptlocation

You should see green notification bars popping up.

All postman collections and scripts should be imported successfully if you can see new collections in “Collections” pane:

postmancollections

 


 

If you use self-signed certificates (on local dev probably you are :-)), you need to disable verification of SSL certificates in Postman.

To disable verification of SSL certificates in Postman:

  1. Open Settings sxcupgrade17
  2. Turn off “SSL certificate verification”sxcupgrade18

If you have problem running commands and especially with authorization of requests, take a look on my blog post about this topic.

Happy debugging and playing with SXC 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: