To view an existing order, first log into the Admin API on the administration server using an account that has the Administrator role. For example:

POST /ccadmin/v1/login HTTP/1.1
Content-Type: application/x-www-form-urlencoded

grant_type=password&username=alvinadmin@example.com&password=A3ddj3w

Then issue a GET request to the /ccadmin/v1/orders/{id} endpoint, providing the ID of the order you want to view, and including the access token that was returned by /ccadmin/v1/login. For example:

GET /ccadmin/v1/orders/o10008 HTTP/1.1
Authorization: Bearer <access_token>

The response shows the predefined order properties that are exposed by Oracle Commerce Cloud Service, and the values of the properties in the order. You can modify the values of these properties for an order using the PUT /ccadmin/v1/orders/{id} endpoint on the administration server.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices