I'm wondering what are the differences between "Open Commerce API", "Demandware Order Management" and "Demandware API". Also I'd like to know how to get order information by using one of those APIs. Thanks a lot!
https://documentation.demandware.com/DOC1/index.jsp
The Open Commerce API is a RESTful API that consists of three component APIs: Name. Description. Shop API, see Shop API resources and Shop API documents. Provides access to Commerce Cloud Digital storefront functionality.
Demandware is a software technology company headquartered in Burlington, Massachusetts that provides a cloud-based unified e-commerce platform with mobile, AI personalization, order management capabilities, and related services for B2C and B2B retailers and brand manufacturers around the world.
Demandware's core framework is built in Java that uses an efficient caching system that is based on Akamai technologies. The core framework of the same is so close to third parties and can be exposed through the Demandware script and Demandware's own pipelet system.
We have three core languages in this framework: - ISML: Markup language for views. - Digital Script (. ds): Server-side scripting language based on Javascript that is used throughout the platform.
The Open Commerce API, or more commonly OCAPI is a RESTful API that consists of three component APIs (as of v16.3):
Demandware Order Management is Business Manager module named Orders (under Merchant Tools) that you can find, update, export or track orders.
Demandware API is actually what you see in that documentation page. It can be found in Eclipse (Help > Help Contents > Demandware API) as well.
If you are going to use DWAPI, it's really easy:
function getOrder(orderNo) {
var OrderMgr = require('dw/order/OrderMgr');
return new Order(OrderMgr.getOrder(orderNo));
}
Or, you can use OCAPI, it's also easy but it requires some kind of authentication first.
Get order
Gets information for an order.
URL: GET
https://hostname:port/dw/shop/v16_2/orders/{order_no}
Formats: json, xml
Authentication: OAuthOrJWT - Requests with an OAuth token or Customer JWT token are supported.
Response Document: Order
So, please explain where do you want to use your order details.
There is also a separate product called Demandware Order Center, which has its own separate set of API classes in the Demandware Script API.
The way you have asked your question is way too broad.
EDIT: If you provide some background as to what problem you are trying to solve, we may be able to identify which API you should look at.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With