Pre-request Script for appending Access Token to OrderCloud API requests automatically in Postman

OrderCloud uses OAuth 2.0 for token-based authentication, which means that each API request to OrderCloud requires a valid access token. Since access tokens (and refresh tokens) have a defined expiry, the access token will need to be manually refreshed periodically when using an API Client like Postman, which is an integral part of the software development lifecycle while building solutions with OrderCloud. Continue reading “Pre-request Script for appending Access Token to OrderCloud API requests automatically in Postman”

SOLVED: Error while placing order in OrderCloud Headstart

When trying to place an order in the OrderCloud Headstart after the initial setup, it fails with the following message at the Shipping Selection step,
“We apologize for the inconvenience, we are currently unable to display your shipping estimates for this cart. Please try a different address or contact the supplier with further questions.”
Continue reading “SOLVED: Error while placing order in OrderCloud Headstart”

Securing OrderCloud Webhook Event Listeners using Javascript Catalyst

An extensible system empowers businesses to respond to emerging challenges efficiently. OrderCloud ensures extensibility, and Webhooks is one of the common approaches available to extend OrderCloud.  Webhooks are user-defined HTTP callbacks, which invoke your own HTTP endpoints that performs custom logic, whenever the associated OrderCloud API endpoint is triggered. This introduces the need for validating the authenticity of the call within your HTTP endpoint, to ensure it is from OrderCloud. Continue reading “Securing OrderCloud Webhook Event Listeners using Javascript Catalyst”