Class OmieOrderStage
The service order stage (cEtapa) in Omie. The API documents five values — 10, 20, 30, 40 and 50 (invoice)
— but an account may have its own Kanban columns, and the query returns the real stage (60 has been seen).
Echoing that stage back on a change means sending a value outside the domain the API accepts; since
cEtapa is optional on AlterarOS, the right move is to omit it and leave the order where it is.
public static class OmieOrderStage
- Inheritance
-
OmieOrderStage
- Inherited Members
Fields
AlterItemAction
Default item action on a change ("A" — alter), required by AlterarOS on every item.
public const string AlterItemAction = "A"
Field Value
Methods
ForChange(string?)
The stage to send on a change: the current one when the API knows it, or none.
public static string? ForChange(string? currentStage)
Parameters
currentStagestring