Skip to content

Commit ebb1f50

Browse files
Changed the order of webhook events
1 parent 5d36a53 commit ebb1f50

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

  • src/main/kotlin/com/ecwid/apiclient/v3/dto/webhook

src/main/kotlin/com/ecwid/apiclient/v3/dto/webhook/Webhook.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ data class Webhook(
4444
@SerializedName("customer.updated")
4545
CUSTOMER_UPDATED,
4646

47+
@SerializedName("customer_group.created")
48+
CUSTOMER_GROUP_CREATED,
49+
50+
@SerializedName("customer_group.updated")
51+
CUSTOMER_GROUP_UPDATED,
52+
53+
@SerializedName("customer_group.deleted")
54+
CUSTOMER_GROUP_DELETED,
55+
4756
@SerializedName("customer.personal_data_removal_request")
4857
CUSTOMER_PERSONAL_DATA_REMOVAL_REQUEST,
4958

@@ -130,15 +139,6 @@ data class Webhook(
130139

131140
@SerializedName("promotion.updated")
132141
PROMOTION_UPDATED,
133-
134-
@SerializedName("customer_group.created")
135-
CUSTOMER_GROUP_CREATED,
136-
137-
@SerializedName("customer_group.updated")
138-
CUSTOMER_GROUP_UPDATED,
139-
140-
@SerializedName("customer_group.deleted")
141-
CUSTOMER_GROUP_DELETED,
142142
}
143143

144144
}

0 commit comments

Comments
 (0)