The createOrderForUser Web service creates a new order of the given type for the given user. If orderType is null, it creates an order of the default order type. This operation is intended to be used by applications that need to create orders on behalf of another user, such as a CSR application.

Servlet Name

createOrderForUser

Input Parameters

ProfileId - The user who will own the order
OrderType - The type of order to create. Null indicates the default order type.

Output

OrderId - The order ID of the new order.

Web Service Class

atg.commerce.order.OrderServices

Nucleus Component

/atg/commerce/order/orderServices

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/order/createOrderForUser?WSDL

Endpoint URL

http://hostname:port/commerce/order/createOrderForUser/createOrderForUser

Method

createOrderForUser(String orderType, String profileId)

Security FunctionalName

orderCreationForUser


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