ReturnPrepare URL

This URL prepares a return merchandise authorization (RMA).

This URL prepares a return merchandise authorization (RMA) by calculating taxes to be refunded, summing a total refund, determining a credit vehicle, determining a return method, and determining a return fulfillment.

 

URL structure

http:// host_name/path/

The fully qualified name of your WebSphere Commerce server and the configuration path.

 

Parameter values

forUser

The logon ID of the user on whose behalf the command will be run; only a person with the authority to process orders can specify this parameter.

forUserId

Same as forUser, but identifying the user by the internal user ID, as found in the USERS table.

langId

Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table.

storeId

(Required) The store reference number.

RMAId

(Required) The RMA identifier to be prepared.

comment

A comment about the RMA.

URL

(Required) The URL to be called when the command completes successfully.

 

Example

The following example prepares the RMA with reference number 1 and redirects to the ReturnDisplay command to view this RMA.

http://myhostname/webapp/wcs/stores/servlet/
ReturnPrepare?RMAId=1&storeId=1&URL=ReturnDisplay

 

Behavior

Exception conditions

Related concepts

Returns and refunds
Order Management subsystem

Related reference

ReturnCancel URL
ReturnCreate URL
ReturnDisplay URL
ReturnItemAdd URL
ReturnItemDelete URL
ReturnItemUpdate URL
ReturnListDisplay URL
ReturnProcess URL
ReturnCreditAndCloseScan command
Order Management subsystem URLs