- URL:https://<listing-url>/purchase (POST only)
Depending on the type of listing, the purchaser or the vendor can complete a marketplace listing purchase by invoking this operation (POST ONLY).
For free listings, this call must be made by the purchasing org admin or members with request purchase information privilege. The purchaserOrgId parameter is not required in this case.
For all other listings, this call must be made by the vendor org admin or members with request purchase information privilege. The purchaserOrgId parameter is required in this case, and this call will succeed only if that purchaser has already either expressed interest or started a trial.
In some cases the vendor may provision a different item from the one listed. They can specify the provisioned item using the provisionedItemId parameter.
This operation cannot be invoked if the item has already been purchased.
For a complete listing, see Common parameters.
For a complete list of purchaser parameters, see Purchaser parameters. Note that all purchaser parameters are optional.
The org ID of the purchaser organization. This parameter is required only when the call is made by the vendor. It is ignored otherwise.
The ID of the item to be provisioned if different from the one listed.
Note that the listed item and the provisioned item must be related by the Listed2Provisioned relationship otherwise it will result in an error.
This parameter is allowed only when the call is made by the vendor. It is ignored otherwise.
The end/expiry date of this purchase if any. If this parameter is not specified, it implies an unexpiring purchase. The end date specified should be in milliseconds from epoch.
Example: endDate=1378501088700 (Fri, 06 Sep 2013 20:58:08 GMT)
URL for Purchase Listing:
JSON response syntax
JSON response example
"purchaserFullName": "Test Full Name",