Skip to content

Commit

Permalink
Update VTEX - Subscriptions API (v3).json
Browse files Browse the repository at this point in the history
  • Loading branch information
Isabella-Veloso committed Aug 21, 2024
1 parent e69502f commit ac21943
Showing 1 changed file with 66 additions and 1 deletion.
67 changes: 66 additions & 1 deletion VTEX - Subscriptions API (v3).json
Original file line number Diff line number Diff line change
Expand Up @@ -1718,11 +1718,76 @@
},
"responses": {
"200": {
"description": "Subscription updated",
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubscriptionGroupResponse"
},
"example": {
"id": "F35A8B497EA9E5A6D8F3778CBBA4C9E3",
"customerId": "5aff33ec-5302-4580-a4ed-be9aa32ba3db",
"customerEmail": "[email protected]",
"title": null,
"status": "ACTIVE",
"isSkipped": false,
"nextPurchaseDate": "2024-08-21T12:00:00Z",
"lastPurchaseDate": "2024-08-19T00:00:00Z",
"plan": {
"id": "store.subscription.ana-plan",
"frequency": {
"periodicity": "DAILY",
"interval": 2
},
"validity": {
"begin": "2024-08-01T00:00:00Z",
"end": null
},
"purchaseDay": "Not_Applicable"
},
"shippingAddress": {
"addressId": "5028945524109",
"addressType": "residential"
},
"purchaseSettings": {
"paymentMethod": {
"paymentAccountId": "B2BBDD0F2E4B47FC9E48D2DA99C318EF",
"paymentSystem": "2",
"installments": 1,
"paymentSystemName": "creditCard",
"paymentSystemGroup": "creditCard"
},
"currencyCode": "BRL",
"selectedSla": "Normal",
"salesChannel": "1",
"seller": "1"
},
"cycleCount": 9,
"createdAt": "2024-08-01T12:31:55.7308301Z",
"lastUpdate": "2024-08-19T12:16:51.0237801Z",
"items": [
{
"id": "0213AB4188FE4007A865AD33D972FA37",
"skuId": "9",
"quantity": 1,
"isSkipped": false,
"status": "ACTIVE",
"originalOrderId": "1451256157912-01",
"cycleCount": 9,
"priceAtSubscriptionDate": 736.0,
"manualPrice": 736.0,
"attachments": [
{
"name": "printMessage",
"content": {
"printMessage": "Hello"
}
}
]
}
],
"lastCycleId": "F35A8B497EA9E5A6D8F3778CBBA4C9E3-20240819",
"customData": null
}
}
}
Expand Down

0 comments on commit ac21943

Please sign in to comment.