---
title: Modify the build for an app store version
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/patch-v1-appstoreversions-_id_-relationships-build
---

# Modify the build for an app store version

Change the build that is attached to a specific App Store version.

## URL

PATCH https://api.appstoreconnect.apple.com/v1/appStoreVersions/{id}/relationships/build

## Path Parameters

id: An opaque resource ID that uniquely identifies the resource. Obtain the App Store version resource ID from the List all app store versions for an app response.

## Response Codes

204 No Content: 400 Bad Request: 401 Unauthorized: 403 Forbidden: Request not authorized. 404 Not Found: Resource not found. 409 Conflict: The provided resource data is not valid. 422 : 429 :

## Discussion

Discussion Use this endpoint to associate a build with a version. The build you specify represents the build that’s installed when a customer purchases the app on the App Store. Attach a Build to a Version Remove the Build from a Version

## See Also

### Attaching a Build to a Version

- [Read the build information of an app store version](appstoreconnectapi/get-v1-appstoreversions-_id_-build.md)
- [Get the build id for an app store version](appstoreconnectapi/get-v1-appstoreversions-_id_-relationships-build.md)
