Reference > Shop flow URLs > Order Management subsystem URLs > Returns and refunds
ReturnCreate URL
This URL creates an empty return merchandise authorization (RMA) container.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
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.
- outRMAName
- The name to use for the name-value pair which will be passed to the redirected URL. This parameter is useful for chaining commands. If this parameter is not specified, the value RMAId is used.
- URL
- Required: The URL to be called when the command completes successfully.
Example
The following example creates an RMA container with no associated items.
https://host_name/path/ReturnCreate?outRMAName=outRMAName_value&URL=redirect_url
Behavior
- If either the forUser or the forUserId parameter is specified, the RMA starts in status 'EDT'. Otherwise, the RMA starts in status 'PRC'.
Exception condition
None
Related concepts
Related reference
ReturnCreditAndCloseScan command
Order Management subsystem URLs