CoreApiCampaign

snowbee.coreapi.CoreApiCampaign

idrequired
coderequired
linesrequired
Show item fields
idrequired
basic_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_idrequired
requires_loyalty_membershiprequired
sku_idrequired
sku_numberrequired
namerequired
statusrequired
versionrequired
  • Format: int64
campaign_typerequired
company_idrequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
currency_iso_coderequired
loyalty_program_idoptional
modified_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_scopesrequired
Show item fields
idrequired
brand_idoptional
main_product_group_idoptional
product_category_idoptional
sub_product_group_idoptional
retail_chain_idsrequired
time_zonerequired
valid_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"
}