Share via


Submit-PartnerCustomerCart

Checks out the specified cart.

Syntax

Submit-PartnerCustomerCart
      -CartId <String>
      -CustomerId <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Checks out the specified cart.

Examples

Example 1

PS C:\> Submit-PartnerCustomerCart -CartId '65faf57b-0205-47ee-92b3-08dcf233ea73' -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08'

Checks out the specified cart.

Parameters

-CartId

The identifier for the cart.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CustomerId

The identifier for the customer.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Carts.PSCartCheckoutResult