Skip to content

Instantly share code, notes, and snippets.

@vple
Created July 9, 2018 19:05
Show Gist options
  • Save vple/31095e934ccbf8f1f998aae55412e1fa to your computer and use it in GitHub Desktop.
Save vple/31095e934ccbf8f1f998aae55412e1fa to your computer and use it in GitHub Desktop.
{
"existingAccountNumber": "A00000065",
"orderDate": "2018-07-09",
"previewOptions": {
"previewThruType": "SpecificDate",
"previewTypes": [
"ChargeMetrics",
"BillingDocs",
"OrderMetrics"
],
"specificPreviewThruDate": "2018-07-09"
},
"subscriptions": [
{
"orderActions": [
{
"createSubscription": {
"newSubscriptionOwnerAccount": {
"billCycleDay": 0,
"billToContact": {
"address1": "1 Madison Ave",
"city": "New York",
"country": "United States",
"firstName": "TestFirst",
"lastName": "TestLast",
"postalCode": "10010",
"state": "New York",
"workEmail": "test@yext.com",
"workPhone": "4104104100"
},
"currency": "USD",
"customFields": {
"YextBusinessID__c": "0"
},
"name": "bab",
"parentId": "2c92c0fa6391fb130163d70ba4c3362b",
"soldToContact": {
"address1": "1 Madison Ave",
"city": "New York",
"country": "United States",
"firstName": "TestFirst",
"lastName": "TestLast",
"postalCode": "10010",
"state": "New York",
"workEmail": "test@yext.com",
"workPhone": "4104104100"
}
},
"subscribeToRatePlans": [
{
"chargeOverrides": [
{
"pricing": {
"recurringPerUnit": {
"quantity": 1
}
},
"productRatePlanChargeId": "2c92c0f86078c59901607b8c01405309"
}
],
"productRatePlanId": "2c92c0f86078c4d401607b8bf10501ce"
}
],
"terms": {
"autoRenew": true,
"initialTerm": {
"period": 1,
"periodType": "Month",
"startDate": "2018-07-09",
"termType": "TERMED"
},
"renewalSetting": "RENEW_WITH_SPECIFIC_TERM",
"renewalTerms": [
{
"period": 1,
"periodType": "Month"
}
]
}
},
"triggerDates": [
{
"name": "ContractEffective",
"triggerDate": "2018-07-09"
},
{
"name": "ServiceActivation",
"triggerDate": "2018-07-09"
},
{
"name": "CustomerAcceptance",
"triggerDate": "2018-07-09"
}
],
"type": "CreateSubscription"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment