Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gamerson/143e7a9c9a3bea984e890fc7f0abbe28 to your computer and use it in GitHub Desktop.
Save gamerson/143e7a9c9a3bea984e890fc7f0abbe28 to your computer and use it in GitHub Desktop.
Coupon Code Objects JSON
{
"active":true,
"objectActions":[
],
"label":{
"en_US":"Coupon Code"
},
"panelCategoryKey":"applications_menu.applications.content",
"pluralLabel":{
"en_US":"Coupon Codes"
},
"objectLayouts":[
],
"system":false,
"objectViews":[
],
"objectFields":[
{
"indexedAsKeyword":false,
"indexed":true,
"indexedLanguageId":"en_US",
"name":"key",
"DBType":"String",
"label":{
"en_US":"Key"
},
"businessType":"Text",
"type":"String",
"required":true
},
{
"indexedAsKeyword":false,
"indexed":true,
"indexedLanguageId":"",
"name":"redeemed",
"DBType":"Boolean",
"label":{
"en_US":"Redeemed"
},
"businessType":"Boolean",
"type":"Boolean",
"required":false
},
{
"indexedAsKeyword":false,
"indexed":true,
"indexedLanguageId":"",
"name":"redeemedDate",
"DBType":"Date",
"label":{
"en_US":"Redeemed Date"
},
"businessType":"Date",
"type":"Date",
"required":false
}
],
"scope":"company",
"name":"CouponCode",
"portlet":false,
"actions":{
"permissions":{
},
"get":{
},
"update":{
}
},
"status":{
"label_i18n":"Approved",
"code":0,
"label":"approved"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment