Create birthday gift
create_birthday_giftCreate a birthday gift, the same as saving the Partner Hub's birthday gift form. It applies to every venue of venueIds (public ids from list_venues). Requires the admin role on those venues. For a new photo, call import_image first and use its originalUrl as content.imageUrl (and the photo credit in images[0].attribution, if any, as content.imageAttribution). content.name and content.description are localized strings: { default: "…" } plus optional per-locale translations such as fi or en. options.expirationDays is how long a member has to use the gift and options.advanceSendDays how many days before the birthday it is delivered. Unless status is hidden, members receive the gift around their birthday, as options.advanceSendDays sets, so confirm the details with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | No | Organization public id, the `id` field from list_orgs. Omit it when the API key reaches exactly one organization. | |
| status | No | active | |
| content | Yes | ||
| message | Yes | ||
| options | Yes | ||
| venueIds | Yes | Venue orgBasedPublicIds where this birthday gift applies | |
| templateId | No |