PATCH
/
groups
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique group ID

Body

application/json
metadata
object
required

Additional metadata for the payment group update. This can include any additional information needed to update the payment group.

creatorEmail
string

Email of the creator of the payment group. This field is optional and should be a valid email address.

Response

200 - application/json
id
string
required

The id of the group.

shareId
string | null
required

The shared identifier of the group. If null, it will create a group. If not null, it will join the group.

livemode
boolean
required

Wether the order is in live mode or test mode.

organizationId
string
required

The id of the organization.

customerId
string
required

The id of the customer.

creatorEmail
string
required

The email of the creator of the group.

status
enum<string>
required

The status of the group.

Available options:
OPEN,
COMPLETED,
CANCELED,
EXPIRED
metadata
object
required

Additional metadata for the order.

expiresAt
string
required
midExpireAt
string
required
jMinus2ExpireAt
string
required
jPlus3StartAt
string
required
reminderEmailSent
enum<string>
required

The reminder email sent status of the group.

Available options:
NOT_SENT,
MIDWAY_SENT,
DAY3_SENT,
DAY2_BEFORE_END_SENT
createdAt
string
required
createdBy
string | null
required

The id of the user who created the customer.

updatedAt
string
required
updatedBy
string | null
required

The id of the user who last updated the customer.

canceledAt
string
required
completedAt
string
required