CoreApiCampaign
snowbee.coreapi.CoreApiCampaign
idrequiredcoderequiredlinesrequiredShow item fields
idrequiredbasic_gross_unit_priceoptional- Format: BigDecimal
Example"100.0"basic_net_unit_priceoptional- Format: BigDecimal
Example"100.0"campaign_gross_unit_priceoptional- Format: BigDecimal
Example"100.0"campaign_net_unit_priceoptional- Format: BigDecimal
Example"100.0"product_idrequiredrequires_loyalty_membershiprequiredsku_idrequiredsku_numberrequired
namerequiredstatusrequiredversionrequired- Format: int64
campaign_typerequiredcompany_idrequiredcreated_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"currency_iso_coderequiredloyalty_program_idoptionalmodified_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"order_delivery_dateoptional- Format: date
Example"2026-01-14"order_endrequired- Format: date
Example"2026-01-14"order_startrequired- Format: date
Example"2026-01-14"product_scopesrequiredShow item fields
idrequiredbrand_idoptionalmain_product_group_idoptionalproduct_category_idoptionalsub_product_group_idoptional
retail_chain_idsrequiredtime_zonerequiredvalid_fromrequired- Format: date
Example"2026-01-14"valid_from_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"valid_torequired- Format: date
Example"2026-01-14"valid_to_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
View raw schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "String"
},
"code": {
"type": "string",
"title": "String"
},
"lines": {
"type": "array",
"items": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiCampaignLine"
},
"title": "List<CoreApiCampaignLine>"
},
"name": {
"type": "string",
"title": "String"
},
"status": {
"type": "string",
"title": "String"
},
"version": {
"type": "integer",
"format": "int64",
"title": "Long"
},
"campaign_type": {
"type": "string",
"title": "String"
},
"company_id": {
"type": "string",
"title": "String"
},
"created_at": {
"type": "string",
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
},
"currency_iso_code": {
"type": "string",
"title": "String"
},
"loyalty_program_id": {
"type": [
"null",
"string"
],
"title": "String"
},
"modified_at": {
"type": "string",
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
},
"order_delivery_date": {
"type": [
"null",
"string"
],
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"order_end": {
"type": "string",
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"order_start": {
"type": "string",
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"product_scopes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/snowbee.coreapi.CoreApiCampaignProductScope"
},
"title": "List<CoreApiCampaignProductScope>"
},
"retail_chain_ids": {
"type": "array",
"items": {
"type": "string",
"title": "String"
},
"title": "List<String>"
},
"time_zone": {
"type": "string",
"title": "String"
},
"valid_from": {
"type": "string",
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"valid_from_at": {
"type": "string",
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
},
"valid_to": {
"type": "string",
"format": "date",
"example": "2026-01-14",
"title": "LocalDate"
},
"valid_to_at": {
"type": "string",
"format": "ISO 8681 timestamp",
"example": "2025-10-28T12:37:42Z",
"title": "ISO8681"
}
},
"required": [
"code",
"id",
"lines",
"name",
"status",
"version",
"campaign_type",
"company_id",
"created_at",
"currency_iso_code",
"modified_at",
"order_end",
"order_start",
"product_scopes",
"retail_chain_ids",
"time_zone",
"valid_from",
"valid_from_at",
"valid_to",
"valid_to_at"
],
"title": "CoreApiCampaign"
}