Class: Spree::Api::V3::Admin::PromotionSerializer

Inherits:
PromotionSerializer show all
Defined in:
app/serializers/spree/api/v3/admin/promotion_serializer.rb

Overview

Admin Promotion serializer — adds operational fields the Store API never exposes (multi-codes counts, usage stats, internal promotion category, store assignments, timestamps).

Method Summary

Methods inherited from BaseSerializer

#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, #nested_expands_for, #nested_params