Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 1.48 KB

ManagementProjectsMetadataSchemasCreateRequestBody.md

File metadata and controls

10 lines (7 loc) · 1.48 KB

VoucherifySdk::ManagementProjectsMetadataSchemasCreateRequestBody

Properties

Name Type Description Notes
related_object String The resource type. You can define custom metadata schemas, which have a custom `"related_object"` resource type, or you can use standard resource types: `"campaign"`, `"customer"`, `"earning_rule"`, `"loyalty_tier"`, `"order"`, `"order_item"`, `"product"`, `"promotion_tier"`, `"publication"`, `"redemption"`, `"reward"`, `"voucher"`. [optional]
allow_defined_only Boolean Restricts the creation of metadata fields when set to `true`. In other words, it indicates whether or not you are allowed to create new metadata definitions; for example, in the campaign manager or publication manager. If it is set to true, then only the defined fields will be available for assigning values. [optional][default to false]
properties Hash<String, ManagementProjectsMetadataSchemaDefinition> Contains metadata definitions. There can be many properties within this object. Only the properties sent in the request will be created. [optional]