[
{
"description": "the internal identifier of the voucher",
"type": "STRING",
"name": "internal_id",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "external_id",
"description": "the external identifier of the voucher (can be the same as the internal identifier)"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name"
},
{
"type": "STRING",
"name": "product_line"
},
{
"type": "STRING",
"name": "product_group"
},
{
"type": "STRING",
"name": "sku"
},
{
"type": "STRING",
"name": "voucher"
},
{
"type": "NUMERIC",
"name": "value"
}
],
"description": "products related to the voucher",
"type": "RECORD",
"name": "voucher_products",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "operator"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name"
},
{
"type": "STRING",
"name": "value"
}
],
"type": "RECORD",
"name": "segments",
"mode": "REPEATED"
}
],
"description": "product segments related to the voucher",
"type": "RECORD",
"name": "voucher_products_attributes",
"mode": "REPEATED"
},
{
"type": "STRING",
"name": "type",
"description": "the type value)"
},
{
"type": "STRING",
"name": "ean",
"description": "the ean value)"
},
{
"type": "STRING",
"name": "label",
"description": "label of the voucher"
},
{
"type": "DATETIME",
"name": "creation"
},
{
"type": "DATETIME",
"name": "last_update"
},
{
"type": "BOOLEAN",
"name": "is_new"
},
{
"type": "BOOLEAN",
"name": "in_sales"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name"
},
{
"type": "STRING",
"name": "product_line"
},
{
"type": "STRING",
"name": "product_group"
},
{
"type": "STRING",
"name": "sku"
},
{
"type": "STRING",
"name": "voucher"
},
{
"type": "NUMERIC",
"name": "value"
}
],
"description": "relations to other products",
"type": "RECORD",
"name": "product_relations",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name"
},
{
"type": "STRING",
"name": "content_type"
},
{
"type": "STRING",
"name": "content_id"
},
{
"type": "NUMERIC",
"name": "value"
}
],
"description": "relations to other contents",
"type": "RECORD",
"name": "other_relations",
"mode": "REPEATED"
},
{
"description": "the stores",
"type": "STRING",
"name": "stores",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"description": "the title of the voucher",
"type": "RECORD",
"name": "title",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"description": "the short description of the voucher",
"type": "RECORD",
"name": "short_description",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code"",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"description": "the description of the voucher",
"type": "RECORD",
"name": "description",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "name",
"mode":
"REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "pathvalue",
"mode": "REPEATED"
}
],
"description": "the images of the voucher",
"type": "RECORD",
"name": "images",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "value",
"mode": "REPEATED"
}
],
"description": "the brands of the voucher",
"type": "RECORD",
"name": "brands",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "value",
"mode": "REPEATED"
}
],
"description": "the suppliers of the voucher",
"type": "RECORD",
"name": "suppliers",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "categorization",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "category_ids",
"mode": "REPEATED"
}
],
"description": "the categories of the voucher",
"type": "RECORD",
"name": "categories",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"description": "the link of the voucher",
"type": "RECORD",
"name": "link",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "loc_values",
"mode": "REPEATED"
}
],
"description": "the tags of the product line, e.g.: [STRUCT('tag', 'hello world', [STRUCT('de', 'hello world')])]",
"type": "RECORD",
"name": "tags",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "loc_values",
"mode": "REPEATED"
}
],
"description": "the labels of the voucher, e.g.: [STRUCT('symbol', 'delivery', '24h', [STRUCT('de', '24-H Versand')])]",
"type": "RECORD",
"name": "labels",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "customer_groups",
"mode": "REPEATED"
},
{
"fields": [
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "DATETIME",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "start_datetime",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "DATETIME",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "end_datetime",
"mode": "REPEATED"
}
],
"type": "RECORD",
"name": "periods",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "currency",
"mode": "REQUIRED"
}
],
"description": "price before any discount",
"type": "RECORD",
"name": "list_price",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "currency",
"mode": "REQUIRED"
}
],
"description": "price displayed to the customer after discounts",
"type": "RECORD",
"name": "sales_price",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "currency",
"mode": "REQUIRED"
}
],
"description": "price before any discount",
"type": "RECORD",
"name": "voucher_percentage_value",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "currency",
"mode": "REQUIRED"
}
],
"description": "price before any discount",
"type": "RECORD",
"name": "voucher_absolute_value",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "currency",
"mode": "REQUIRED"
}
],
"description": "the sales gross margin as an absolute value",
"type": "RECORD",
"name": "gross_margin",
"mode": "REPEATED"
}
],
"type": "RECORD",
"name": "pricing",
"mode": "REPEATED"
},
{
"fields": [
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "DATETIME",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "start_datetime",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "DATETIME",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "end_datetime",
"mode": "REPEATED"
}
],
"description": "information about the activity periods of the voucher",
"type": "RECORD",
"name": "periods",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "availability"
},
{
"type": "STRING",
"name": "delivery_center"
},
{
"type": "INTEGER",
"name": "value"
}
],
"description": "the current stock",
"type": "RECORD",
"name": "stock",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "customer_groups",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "INTEGER",
"name": "value",
"mode": "REQUIRED""
}
],
"type": "RECORD",
"name": "values",
"mode": "REPEATED"
}
],
"description": "the product visibility :VISIBILITY_NOT_VISIBLE = 1; VISIBILITY_IN_CATALOG = 2; VISIBILITY_IN_SEARCH = 3; VISIBILITY_BOTH = 4;",
"type": "RECORD",
"name": "visibility",
"mode": "REPEATED"
},
{
} "fields": [
],{
"type": "RECORDSTRING",
"name": "valueslanguage",
"mode": "REPEATEDREQUIRED"
},
], {
"descriptiontype": "theINTEGER",
voucher visibility :VISIBILITY_NOT_VISIBLE = 1; VISIBILITY_IN_CATALOG = 2; VISIBILITY_IN_SEARCH = 3; VISIBILITY_BOTH = 4; "name": "value",
"typemode": "RECORDREQUIRED",
"name": "visibility", }
"mode": "REPEATED" ],
}, "description": "the {product status",
"type": "BOOLEANRECORD",
"name": "status",
"descriptionmode": "the voucher statusREPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "values",
"mode": "REPEATED"
}
],
"description": "additional string (not localized) attributes of the voucher",
"type": "RECORD",
"name": "string_attributes",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "STRING",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "values",
"mode": "REPEATED"
}
],
"description": "additional localized string attributes of the voucher",
"type": "RECORD",
"name": "localized_string_attributes",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"type": "NUMERIC",
"name": "values",
"mode": "REPEATED"
}
],
"description": "additional numeric (not localized) attributes of the voucher",
"type": "RECORD",
"name": "numeric_attributes",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "NUMERIC",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "values",
"mode": "REPEATED"
}
],
"description": "additional localized numeric attributes of the voucher",
"type": "RECORD",
"name": "localized_numeric_attributes",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"type": "DATETIME",
"name": "values",
"mode": "REPEATED"
}
],
"description": "additional datetime (not localized) attributes of the voucher",
"type": "RECORD",
"name": "datetime_attributes",
"mode": "REPEATED"
},
{
"fields": [
{
"type": "STRING",
"name": "type"
},
{
"type": "STRING",
"name": "name",
"mode": "REQUIRED"
},
{
"fields": [
{
"type": "STRING",
"name": "language_code",
"mode": "REQUIRED"
},
{
"type": "DATETIME",
"name": "value",
"mode": "REQUIRED"
}
],
"type": "RECORD",
"name": "values",
"mode": "REPEATED"
}
],
"description": "additional localized datetime attributes of the voucher",
"type": "RECORD",
"name": "localized_datetime_attributes",
"mode": "REPEATED"
},
{
"description": "technical field",
"type": "DATETIME",
"name": "creation_tm",
"mode": "REQUIRED"
},
{
"description": "technical field",
"type": "INTEGER",
"name": "client_id",
"mode": "REQUIRED"
},
{
"description": "technical field",
"type": "INTEGER",
"name": "src_sys_id",
"mode": "REQUIRED"
}
] |