Handles Promotion Code resource endpoints.
Summary
Functions
Creates a Promotion Code.
Lists Promotion Codes.
Retrieves a Promotion Code.
Updates a Promotion Code.
Functions
@spec create(Plug.Conn.t()) :: Plug.Conn.t()
Creates a Promotion Code.
@spec list(Plug.Conn.t()) :: Plug.Conn.t()
Lists Promotion Codes.
@spec retrieve(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Retrieves a Promotion Code.
@spec update(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Updates a Promotion Code.