{"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{"AccountIdHeaderOptional":{"description":"The identifier of an Amazon Ads Advertiser Account.","in":"header","name":"Amazon-Ads-AccountId","schema":{"type":"string"}},"ClientIdHeader":{"description":"The identifier of a client associated with a \u0027Login with Amazon\u0027 account.","in":"header","name":"Amazon-Ads-ClientId","required":true,"schema":{"type":"string"}},"ManagerAccountIdHeaderOptional":{"description":"The identifier of an Amazon Ads Manager Account.","in":"header","name":"Amazon-Ads-Manager-AccountId","schema":{"type":"string"}},"ScopeHeaderOptional":{"description":"The identifier of a profile associated with the advertiser account. Use GET method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header and choose profile id profileId from the response to pass it as input.","in":"header","name":"Amazon-Advertising-API-Scope","schema":{"type":"string"}}},"requestBodies":{},"responses":{},"schemas":{"AccountId":{"description":"| AccountId | Description |\n|------|------|\n| `advertiserAccountId` | This represents an advertiser account. It can be a global advertiser account that works across countries (ex: amzn1.ads-account.g.a1bc2de3fg4hi5jk6lm7no8pq) or a DSP-only advertiser account (ex: 123456789012345678 or amzn1.ads1.aa1.gb.ENTITY108A02T7KWJGM). |\n| `managerAccountId` | This represents manager accounts (MA) that allows advertisers, agencies, and integrators to manage multiple advertiser accounts across multiple ad products. |\n","oneOf":[{"properties":{"advertiserAccountId":{"type":"string"}},"required":["advertiserAccountId"],"title":"advertiserAccountId","type":"object"},{"properties":{"managerAccountId":{"type":"string"}},"required":["managerAccountId"],"title":"managerAccountId","type":"object"}]},"AccountLinkInvite":{"properties":{"accountLinkInviteId":{"description":"Unique system-generated identifier for this invite.","type":"string"},"accountLinkPermissions":{"description":"Accounts to link and their permissions. Set at creation for GRANT_ACCESS or by the approver at redemption for REQUEST_ACCESS.","items":{"$ref":"#/components/schemas/AccountLinkPermission"},"maxItems":50,"minItems":0,"type":"array"},"approverAccount":{"$ref":"#/components/schemas/AccountId"},"createdByUserId":{"description":"User who created the invite.","type":"string"},"creationDateTime":{"description":"ISO-8601 timestamp when the invite was created.","format":"date-time","type":"string"},"expirationDateTime":{"description":"ISO-8601 timestamp when the invite expires if not acted upon.","format":"date-time","type":"string"},"inviteType":{"$ref":"#/components/schemas/InviteType"},"lastModifiedByUserId":{"description":"User who last modified the invite.","type":"string"},"lastModifiedDateTime":{"description":"ISO-8601 timestamp when the invite was last modified.","format":"date-time","type":"string"},"requesterAccount":{"$ref":"#/components/schemas/AccountId"},"status":{"$ref":"#/components/schemas/AccountLinkInviteStatus"}},"required":["accountLinkInviteId","createdByUserId","creationDateTime","expirationDateTime","inviteType","lastModifiedByUserId","lastModifiedDateTime","requesterAccount","status"],"type":"object"},"AccountLinkInviteAccountLinkInviteIdFilter":{"properties":{"include":{"items":{"type":"string"},"maxItems":1,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"AccountLinkInviteAccountLinkInviteStatusFilter":{"properties":{"include":{"description":"**Status Enum:**\n| Status | Description |\n| --- | --- |\n| `PENDING` | Awaiting action from the approver. |\n| `APPROVED` | Approver accepted; AccountLink(s) created. Maps to REDEEMED in AccountLinkRequest. |\n| `REJECTED` | Approver declined the invite. |\n| `REVOKED` | Requester withdrew the invite before it was acted upon. |\n| `EXPIRED` | Invite passed its expiration date without action. |","items":{"$ref":"#/components/schemas/AccountLinkInviteStatus"},"maxItems":5,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"AccountLinkInviteApproverAccountFilter":{"properties":{"include":{"items":{"$ref":"#/components/schemas/AccountId"},"maxItems":1,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"AccountLinkInviteCreate":{"properties":{"accountLinkPermissions":{"description":"Accounts to link and their permissions. Set at creation for GRANT_ACCESS or by the approver at redemption for REQUEST_ACCESS.","items":{"$ref":"#/components/schemas/CreateAccountLinkPermission"},"maxItems":50,"minItems":0,"type":"array"},"approverAccount":{"$ref":"#/components/schemas/AccountId"},"inviteType":{"$ref":"#/components/schemas/InviteType"}},"required":["inviteType"],"type":"object"},"AccountLinkInviteInviteTypeFilter":{"properties":{"include":{"description":"**InviteType Enum:**\n| InviteType | Description |\n| --- | --- |\n| `REQUEST_ACCESS` | Requester requests access to the approver\u0027s account. |","items":{"$ref":"#/components/schemas/InviteType"},"maxItems":1,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"AccountLinkInviteMultiStatusResponse":{"properties":{"error":{"items":{"$ref":"#/components/schemas/ErrorsIndex"},"maxItems":50,"minItems":0,"type":"array"},"success":{"items":{"$ref":"#/components/schemas/AccountLinkInviteMultiStatusSuccess"},"maxItems":50,"minItems":0,"type":"array"}},"type":"object"},"AccountLinkInviteMultiStatusSuccess":{"properties":{"accountLinkInvite":{"$ref":"#/components/schemas/AccountLinkInvite"},"index":{"format":"int32","maximum":49,"minimum":0,"type":"integer"}},"required":["accountLinkInvite","index"],"type":"object"},"AccountLinkInviteRequesterAccountFilter":{"properties":{"include":{"items":{"$ref":"#/components/schemas/AccountId"},"maxItems":1,"minItems":1,"type":"array"}},"required":["include"],"type":"object"},"AccountLinkInviteStatus":{"description":"Lifecycle states of an AccountLinkInvite.\n**AccountLinkInviteStatus Enum:**\n\n| AccountLinkInviteStatus | Description |\n|------|------|\n| `APPROVED` | Approver accepted; AccountLink(s) created. Maps to REDEEMED in AccountLinkRequest. |\n| `EXPIRED` | Invite passed its expiration date without action. |\n| `PENDING` | Awaiting action from the approver. |\n| `REJECTED` | Approver declined the invite. |\n| `REVOKED` | Requester withdrew the invite before it was acted upon. |\n","enum":["APPROVED","EXPIRED","PENDING","REJECTED","REVOKED"],"type":"string"},"AccountLinkInviteSuccessResponse":{"properties":{"accountLinkInvites":{"items":{"$ref":"#/components/schemas/AccountLinkInvite"},"maxItems":100,"minItems":0,"type":"array"},"nextToken":{"type":"string"}},"type":"object"},"AccountLinkInviteUpdate":{"properties":{"accountLinkInviteId":{"description":"Unique system-generated identifier for this invite.","type":"string"},"accountLinkPermissions":{"description":"Accounts to link and their permissions. Set at creation for GRANT_ACCESS or by the approver at redemption for REQUEST_ACCESS.","items":{"$ref":"#/components/schemas/CreateAccountLinkPermission"},"maxItems":50,"minItems":0,"type":"array"},"approverAccount":{"$ref":"#/components/schemas/AccountId"}},"required":["accountLinkInviteId"],"type":"object"},"AccountLinkPermission":{"description":"Per-account link entry specifying the target account, permissions, and optional marketplace restrictions.","properties":{"countryCodes":{"description":"Optional marketplace restrictions for Global Account or Single Global Account types.","items":{"$ref":"#/components/schemas/CountryCode"},"maxItems":30,"minItems":0,"type":"array"},"linkResult":{"$ref":"#/components/schemas/LinkResult"},"linkResultMessage":{"description":"Detail message when linkResult is FAILED.","type":"string"},"linkedAccount":{"$ref":"#/components/schemas/AccountId"},"permissionSet":{"$ref":"#/components/schemas/PermissionSet"}},"type":"object"},"BadGatewayResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"BadRequestResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"ContentTooLargeResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"CountryCode":{"enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","OTHER","OTHER_EEA","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW","ZZ"],"type":"string"},"CreateAccountLinkInviteRequest":{"properties":{"accountLinkInvites":{"items":{"$ref":"#/components/schemas/AccountLinkInviteCreate"},"maxItems":50,"minItems":1,"type":"array"}},"required":["accountLinkInvites"],"type":"object"},"CreateAccountLinkPermission":{"description":"Per-account link entry specifying the target account, permissions, and optional marketplace restrictions.","properties":{"countryCodes":{"description":"Optional marketplace restrictions for Global Account or Single Global Account types.","items":{"$ref":"#/components/schemas/CountryCode"},"maxItems":30,"minItems":0,"type":"array"},"linkedAccount":{"$ref":"#/components/schemas/AccountId"},"permissionSet":{"$ref":"#/components/schemas/CreatePermissionSet"}},"type":"object"},"CreatePermission":{"description":"A permission specifies what actions user/account is allowed to take on account. Ads AM’s actions include create, edit, view, and/or more specific actions depending on ads application (i.e. campaign management) or program types (i.e ADSP).","properties":{"permissionName":{"$ref":"#/components/schemas/PermissionName"}},"required":["permissionName"],"type":"object"},"CreatePermissionSet":{"description":"Permissions for an account to account or user to account link","properties":{"customPermissionSet":{"description":"The custom permission list","items":{"$ref":"#/components/schemas/CreatePermission"},"maxItems":5,"minItems":0,"type":"array"},"role":{"$ref":"#/components/schemas/CreateRole"}},"type":"object"},"CreateRole":{"description":"A role refers to a collection of roles and permissions that are assigned to a user/account. Roles help streamline and simplify the process of managing access control by grouping together common set of permissions. Ads AM allows creating of role hierarchies, where higher level roles include lower-level roles.","properties":{"roleName":{"$ref":"#/components/schemas/RoleType"}},"required":["roleName"],"type":"object"},"DeleteAccountLinkInviteRequest":{"properties":{"accountLinkInviteIds":{"items":{"type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["accountLinkInviteIds"],"type":"object"},"Error":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"fieldLocation":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"ErrorCode":{"description":"**ErrorCode Enum:**\n\n| ErrorCode | Description |\n|------|------|\n| `BAD_REQUEST` | The request is not valid considering the documented schema. |\n| `CONFLICT` | Operation could not be completed due to a conflict. Please retry your request. |\n| `FORBIDDEN` | The caller is not authorized to make the given request. |\n| `INTERNAL_ERROR` | The server encountered an unexpected condition that prevented it from fulfilling the request. |\n| `NOT_FOUND` | The requested resource does not exist. |\n| `TOO_MANY_REQUESTS` | There have been too many requests, please slow down your call rate. |\n| `UNAUTHORIZED` | The request lacks the necessary credentials. |\n","enum":["BAD_REQUEST","CONFLICT","FORBIDDEN","INTERNAL_ERROR","NOT_FOUND","TOO_MANY_REQUESTS","UNAUTHORIZED"],"type":"string"},"ErrorsIndex":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/Error"},"maxItems":20,"minItems":1,"type":"array"},"index":{"format":"int32","maximum":49,"minimum":0,"type":"integer"}},"required":["errors","index"],"type":"object"},"ForbiddenResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"GatewayTimeoutResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"InternalServerErrorResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"InviteType":{"description":"Direction of an account link invite.\n**InviteType Enum:**\n\n| InviteType | Description |\n|------|------|\n| `REQUEST_ACCESS` | Requester requests access to the approver\u0027s account. |\n","enum":["REQUEST_ACCESS"],"type":"string"},"LinkResult":{"description":"Outcome of a single account link creation attempt during redemption.\n**LinkResult Enum:**\n\n| LinkResult | Description |\n|------|------|\n| `FAILED` | Account link creation failed. |\n| `SUCCESS` | Account link created successfully. |\n","enum":["FAILED","SUCCESS"],"type":"string"},"NotFoundResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"Permission":{"description":"A permission specifies what actions user/account is allowed to take on account. Ads AM’s actions include create, edit, view, and/or more specific actions depending on ads application (i.e. campaign management) or program types (i.e ADSP).","properties":{"permissionName":{"$ref":"#/components/schemas/PermissionName"}},"required":["permissionName"],"type":"object"},"PermissionName":{"enum":["DATA_SHARING","REPORTS_LIMITED"],"type":"string"},"PermissionSet":{"description":"Permissions for an account to account or user to account link","properties":{"customPermissionSet":{"description":"The custom permission list","items":{"$ref":"#/components/schemas/Permission"},"maxItems":5,"minItems":0,"type":"array"},"role":{"$ref":"#/components/schemas/Role"}},"type":"object"},"QueryAccountLinkInviteRequest":{"properties":{"accountLinkInviteIdFilter":{"$ref":"#/components/schemas/AccountLinkInviteAccountLinkInviteIdFilter"},"approverAccountFilter":{"$ref":"#/components/schemas/AccountLinkInviteApproverAccountFilter"},"inviteTypeFilter":{"$ref":"#/components/schemas/AccountLinkInviteInviteTypeFilter"},"maxResults":{"default":50,"format":"int32","maximum":100,"minimum":1,"type":"integer"},"nextToken":{"type":"string"},"requesterAccountFilter":{"$ref":"#/components/schemas/AccountLinkInviteRequesterAccountFilter"},"statusFilter":{"$ref":"#/components/schemas/AccountLinkInviteAccountLinkInviteStatusFilter"}},"type":"object"},"Role":{"description":"A role refers to a collection of roles and permissions that are assigned to a user/account. Roles help streamline and simplify the process of managing access control by grouping together common set of permissions. Ads AM allows creating of role hierarchies, where higher level roles include lower-level roles.","properties":{"roleName":{"$ref":"#/components/schemas/RoleType"}},"required":["roleName"],"type":"object"},"RoleType":{"description":"**RoleType Enum:**\n\n| RoleType | Description |\n|------|------|\n| `ADMIN` |  |\n| `CUSTOM` | Custom role with a user-defined set of permissions. |\n| `EDITOR` |  |\n| `VIEWER` |  |\n","enum":["ADMIN","CUSTOM","EDITOR","VIEWER"],"type":"string"},"ServiceUnavailableErrorResponseContent":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"TooManyRequestsResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"UnauthorizedResponseContent":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"UpdateAccountLinkInviteRequest":{"properties":{"accountLinkInvites":{"items":{"$ref":"#/components/schemas/AccountLinkInviteUpdate"},"maxItems":50,"minItems":1,"type":"array"}},"required":["accountLinkInvites"],"type":"object"}},"securitySchemes":{"OAuth2":{"flows":{"authorizationCode":{"authorizationUrl":"https://www.amazon.com/ap/oa","scopes":{"advertising::audiences":"Grants access to data provider APIs","advertising::campaign_management":"Grants write access to campaign management.","advertising::test:create_account":"Grants write access to create test accounts functionality","cpc_advertising:campaign_management":"Grants write access to campaign management. Legacy name (no difference from advertising::campaign_management)"},"tokenUrl":"https://api.amazon.com/auth/o2/token"}},"type":"oauth2"}}},"info":{"description":"Amazon Ads API v1 is a reimagined approach to our Ads API, built to provide a seamless experience across all Amazon advertising products through a common model. [Learn more about Ads API v1.](https://advertising.amazon.com/API/docs/en-us/reference/amazon-ads/overview) To learn about prerequisites and header values, see [Getting started with Amazon Ads API v1](https://advertising.amazon.com/API/docs/en-us/reference/amazon-ads/getting-started).\n\n**Download Amazon Ads API V1 OpenAPI Spec** ([All Products](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPIALLMerged_prod_3p_ALL.json) | [SP](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISPMerged_prod_3p_ALL.json) | [SP Global](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISPGLOBALMerged_prod_3p_ALL.json) | [SB](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISBMerged_prod_3p_ALL.json) | [DSP](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPIDSPMerged_prod_3p_ALL.json) | [ST](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISTMerged_prod_3p_ALL.json) | [SD](https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/AmazonAdsAPISDMerged_prod_3p_ALL.json))","title":"AccountLinkInvites API","version":"3.0"},"openapi":"3.0.1","paths":{"/adsApi/v1/create/accountLinkInvites":{"post":{"description":"Create an AccountLinkInvite\n\n**Requires one of these permissions**:\n[\"manage_users\", \"user-edit\", \"account_edit\", \n\"user_edit\", \"MasterAccount_Manager\"]","operationId":"CreateAccountLinkInvite","parameters":[{"$ref":"#/components/parameters/AccountIdHeaderOptional"},{"$ref":"#/components/parameters/ClientIdHeader"},{"$ref":"#/components/parameters/ManagerAccountIdHeaderOptional"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountLinkInviteRequest"}}},"required":true},"responses":{"207":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountLinkInviteMultiStatusResponse"}}},"description":"CreateAccountLinkInvite 207 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["AccountLinkInvites"]}},"/adsApi/v1/delete/accountLinkInvites":{"post":{"description":"Delete an AccountLinkInvite\n\n**Requires one of these permissions**:\n[\"manage_users\", \"user-edit\", \"account_edit\", \n\"user_edit\", \"MasterAccount_Manager\"]","operationId":"DeleteAccountLinkInvite","parameters":[{"$ref":"#/components/parameters/AccountIdHeaderOptional"},{"$ref":"#/components/parameters/ClientIdHeader"},{"$ref":"#/components/parameters/ManagerAccountIdHeaderOptional"},{"$ref":"#/components/parameters/ScopeHeaderOptional"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountLinkInviteRequest"}}},"required":true},"responses":{"207":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountLinkInviteMultiStatusResponse"}}},"description":"DeleteAccountLinkInvite 207 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["AccountLinkInvites"]}},"/adsApi/v1/query/accountLinkInvites":{"post":{"description":"Query AccountLinkInvites for an account\n\n**Requires one of these permissions**:\n[\"manage_users\", \"user-edit\", \"account_edit\", \n\"user_edit\", \"MasterAccount_Manager\"]","operationId":"QueryAccountLinkInvite","parameters":[{"$ref":"#/components/parameters/AccountIdHeaderOptional"},{"$ref":"#/components/parameters/ClientIdHeader"},{"$ref":"#/components/parameters/ManagerAccountIdHeaderOptional"},{"$ref":"#/components/parameters/ScopeHeaderOptional"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryAccountLinkInviteRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountLinkInviteSuccessResponse"}}},"description":"QueryAccountLinkInvite 200 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["AccountLinkInvites"]}},"/adsApi/v1/update/accountLinkInvites":{"post":{"description":"Update an AccountLinkInvite\n\n**Requires one of these permissions**:\n[\"manage_users\", \"user-edit\", \"account_edit\", \n\"user_edit\", \"MasterAccount_Manager\"]","operationId":"UpdateAccountLinkInvite","parameters":[{"$ref":"#/components/parameters/AccountIdHeaderOptional"},{"$ref":"#/components/parameters/ClientIdHeader"},{"$ref":"#/components/parameters/ManagerAccountIdHeaderOptional"},{"$ref":"#/components/parameters/ScopeHeaderOptional"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccountLinkInviteRequest"}}},"required":true},"responses":{"207":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountLinkInviteMultiStatusResponse"}}},"description":"UpdateAccountLinkInvite 207 response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseContent"}}},"description":"BadRequest 400 response"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResponseContent"}}},"description":"Unauthorized 401 response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseContent"}}},"description":"Forbidden 403 response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseContent"}}},"description":"NotFound 404 response"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTooLargeResponseContent"}}},"description":"ContentTooLarge 413 response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsResponseContent"}}},"description":"TooManyRequests 429 response"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorResponseContent"}}},"description":"InternalServerError 500 response"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadGatewayResponseContent"}}},"description":"BadGateway 502 response"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableErrorResponseContent"}}},"description":"ServiceUnavailableError 503 response"},"504":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayTimeoutResponseContent"}}},"description":"GatewayTimeout 504 response"}},"security":[{"OAuth2":["advertising::campaign_management"]}],"tags":["AccountLinkInvites"]}}},"servers":[{"description":"Production server for NA","url":"https://advertising-api.amazon.com"},{"description":"Production server for EU","url":"https://advertising-api-eu.amazon.com"},{"description":"Production server for FE","url":"https://advertising-api-fe.amazon.com"}]}