Centum v2 icon

Centum v2

Consumes Centum API

Actions76

Promociones Comerciales → Get

AI-generated

Summary

Retrieves commercial promotions applied to a sale, using the document date and weekday to filter the request. You can optionally request simplified output or enable request debugging.

Inputs

  • FechaDocumento (required) — Document date sent as a request body parameter.
  • DiaSemana — Weekday number used to filter applied promotions; 0 represents Monday. Defaults to 0.
  • Simplified Output — When enabled, returns only the most useful top-level fields. Defaults to false.
  • Debug Options — Optional debug logging settings: enable sanitized request metadata logging, filter logged requests by URL text, and include the JSON request body in debug logs. Debug logging is off by default.

Output shape

A list of promotion results

The source pack shows the list-promotions implementation, but omits its function body, so response fields and exact return shape cannot be confirmed.

Examples

Example 1: Retrieve promotions for a document date and weekday

Set FechaDocumento to the document date and DiaSemana to the weekday number (0 is Monday).

Links

Discussion