Skip to content

Get-WETSupplierProfile

SYNOPSIS

Retrieve supplier profile information from the WET API.

SYNTAX

Get-WETSupplierProfile [-Id] <Int32> [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

This function retrieves profile information for a specific supplier from the WET API using the supplier's ID. Optionally, credentials can be provided for authentication.

EXAMPLES

EXAMPLE 1

Get-WETSupplierProfile -Id 123

Retrieves profile information for the supplier with ID 123.

EXAMPLE 2

Get-WETSupplierProfile -Id 123 -Credential (Get-Credential)

Retrieves profile information for the supplier with ID 123 using the specified credentials.

PARAMETERS

-Id

The ID of the supplier whose profile information is to be retrieved.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Credential

The PSCredential object to use for authentication. If not provided, default credentials will be used.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES