---
title: "Edit order offer gift details"
method: PATCH
path: "/order_offers/{order_offer_id}/gift"
tags: ["Order Offers"]
---

# Edit order offer gift details

`PATCH /order_offers/{order_offer_id}/gift`

## Request

- Base URL: `https://api.vrio.app`
- URL: `https://api.vrio.app/order_offers/{order_offer_id}/gift`
- Auth: API key in header `X-Api-Key`

Edit order offer gift details.

## Request body

- object
  - `gift_message` string: Message to use for gift communication. Required if is_gift is true.
  - `gift_name` string: Name for the person receiving the gift. Required if is_gift is true.
  - `gift_date` string, date-time: Date to send gift communication. Required if is_gift is true.
  - `gift_email` string: Email for the person receiving the gift. Required if is_gift is true.
  - `gift_phone` string: Phone for the person receiving the gift. Required if is_gift is true.
  - `order_offer_notes` string: Apply note to the history of this order offer.

## Response `200`

OK

- object
  - `order_offer_id` integer
  - `gift_card_code` string, nullable
  - `gift_name` string, nullable
  - `gift_message` string, nullable
  - `gift_email` string, nullable
  - `gift_phone` string, nullable
  - `gift_date` string, date-time, nullable
  - `gift_date_sent` string, date-time, nullable
  - `gift_status` string

## Other responses

- `400`: Error response
- `401`: Unauthorized response
- `403`: Forbidden response
- `500`: Error response

---

[API](https://skmtc.dev/vrio/apis/customer-service.md) - [All operations](https://skmtc.dev/vrio/apis/customer-service/llms.txt) - [OpenAPI document](https://skmtc.dev/vrio/apis/customer-service/revisions/88f76a0e56f0?raw)
