---
title: "Set Parent Order"
method: POST
path: "/tree/child-and-parents-relationships/{caprid}/parents/order"
tags: ["Relationships: Child and Parents"]
---

# Set Parent Order

`POST /tree/child-and-parents-relationships/{caprid}/parents/order`

Set the ordering of parent1 and parent2 in a child and parents relationship by explicitly designating which existing parent should be parent1 and which should be parent2.

## Path parameters

- `caprid` string, required

## Headers

- `Content-Type` 'application/x-fs-v1+json', required
- `X-Reason` string

## Response `204`

The setting of parent order was successful.

## Other responses

- `400` — The id is invalid, the given parents are not currently in the relationship, or the parents are currently in traditional order.
- `403` — The relationship is restricted.
- `404` — The requested relationship is not found.
- `410` — The requested relationship has been deleted or merged.
- `429` — The request was throttled.

---

[API](https://skmtc.net/familysearch/apis/authentication-endpoints.md) · [All operations](https://skmtc.net/familysearch/apis/authentication-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/familysearch/authentication-endpoints/revisions/2b5020574a62/schema)
