v1

latestOpenAPI 3.0.12026-07-243407211.3 MB
Affiliate

Create Affiliate

Creates a new affiliate for the specified program.

post/programs/{programCode}/affiliates

Path parameters

programCodestring required

The program code to associate the affiliate with.

Headers

X-GD-RequestIdstring required

The unique request identifier for tracking.

Request body

affiliateNamestring nullable

The name of the affiliate to be created.

addressLine1string nullable

The first line of the affiliate's address.

addressLine2string nullable

The second line of the affiliate's address (optional).

citystring nullable

The city where the affiliate is located.

statestring nullable

The state where the affiliate is located.

zipCodestring nullable

The ZIP code of the affiliate's address.

Response

OK

affiliateIdentifierstring nullable

Gets or sets the unique identifier assigned to the created affiliate.