openapi: 3.1.0 info: version: 25.1126.6886238 x-version-timestamp: 2025-11-26 19:10:23+00:00 title: Addresses Introduction Account Addresses Account Membership Settings API description: 'The Addresses API allows you to organize account addresses. Addresses are a sub-resource of `account` resources, an account can have multiple addresses, such as home, work, and neighbour. You can use an account address with either [client_credentials access token](/docs/api/authentication/create-an-access-token) or a combination of [implicit access token](/docs/api/authentication/create-an-access-token) and [Account Management authentication](/docs/api/accounts/post-v-2-account-members-tokens) token. ' contact: name: Elastic Path url: https://www.elasticpath.com email: support@elasticpath.com license: url: https://elasticpath.dev name: MIT servers: - url: https://useast.api.elasticpath.com description: US East - url: https://euwest.api.elasticpath.com description: EU West security: - BearerToken: [] tags: - name: Account Membership Settings description: 'Account Membership Settings allow Account Members to be associated to, at most, N accounts at a time. You can set this value to any number up to 10,000. The default value is 10,000. This setting is only applied to new account memberships. If an account member is added to 3 accounts, and the setting is reduced to 1, the account member remains in the 3 accounts and can no longer be added to more. ' externalDocs: url: https://elasticpath.dev/docs/commerce-cloud/accounts/account-membership-settings paths: /v2/settings/account-membership: get: tags: - Account Membership Settings summary: Get Account Membership Settings description: Use this endpoint to get all account membership settings. operationId: get-v2-settings-account-membership responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AccountMembershipSettings' '400': $ref: '#/components/responses/BadRequestError' '401': $ref: '#/components/responses/UnauthorizedError' '500': $ref: '#/components/responses/InternalServerError' put: tags: - Account Membership Settings summary: Update Account Membership Settings description: Use this endpoint to update account membership settings. operationId: put-v2-settings-account-membership requestBody: content: application/json: schema: $ref: '#/components/schemas/AccountMembershipSettings' examples: Update account membership limit: value: data: type: account_membership_setting membership_limit: 1000 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AccountMembershipSettings' '400': $ref: '#/components/responses/BadRequestError' '500': $ref: '#/components/responses/InternalServerError' components: responses: UnauthorizedError: description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: unauthorized-error: value: errors: - title: Unauthorized status: '401' BadRequestError: description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: bad-request-error: value: errors: - title: Bad Request status: '400' detail: 'Validation failed: field ''Name'' on the ''min'' tag.' InternalServerError: description: Internal server error. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: internal-server-error: summary: Internal server error value: errors: - title: Internal Server Error status: '500' detail: there was a problem processing your request schemas: Error: type: object required: - status - title properties: title: type: string description: A brief summary of the error. examples: - Bad Request status: type: string format: string description: The HTTP response code of the error. examples: - '400' detail: type: string description: Optional additional detail about the error. examples: - The field 'name' is required ErrorResponse: type: object required: - errors properties: errors: type: array items: $ref: '#/components/schemas/Error' AccountMembershipSettings: type: object properties: data: type: object properties: type: type: string description: Specifies the type of object. Set this value to `account_membership_setting`. example: account_membership_setting enum: - account_membership_setting membership_limit: type: integer description: The number of accounts an account member can be associated with. You can set this value to any number up to 10,000. example: 100 securitySchemes: BearerToken: type: http scheme: bearer