affiliates.read_writeopportunity_id (the opportunity.id from the links responses) and omit parent_link_id. Returns 201 with your new main link for the opportunity, or 200 with it if you already have one. name and email are ignored.parent_link_id (one of your main links, from List Affiliate Links) with name and email. opportunity_id is optional; if sent it must match the parent link's opportunity. Returns 201 for a new sub-link, or 200 with the existing one when a sub-link with the same name and email already exists under that main link.parent_link_id, name and email are set for sub-links.link.short can be null right after creation while it is generated; link.full is returned when the product has a URL template.403 insufficient_scope: the client doesn't have affiliates.read_write.404 page_not_found: the opportunity isn't available to your company, or parent_link_id isn't one of your company's active main links.422: validation_error (error.fields, e.g. opportunity_id missing without parent_link_id, opportunity_id not matching the parent link, or name/email missing for a sub-link), parent_link_inactive, company_not_verified, affiliate_link_restricted, or upstream_rejected.429: rate_limited, or request_in_progress when the same link is being created right now.502 upstream_error / 504 upstream_timeout: nothing was created; retry.