Funnels · SalesCards
Update or move a SalesCard
Partial update of the card. To move the card send step (plus funnel if the step is in another funnel) or stepName. On a move the API sets updatedAtStep, preStep/preFunnel and stepsDate, adjusts the step totals and, when the card enters $step_billed$ (or $step_delivery$ of the sales funnel), fills saleDate if you did not send it. {stepId} must be the card's current step: when the card moves, the API subtracts its amount from that step's total. Sending as the target (step, or the step stepName resolves to) the same id as {stepId} fails with 400 The step must be different whenever that would move the card: when {stepId} is not the card's current step, or when funnel also changes. Read the card first if you do not know its current step. A step or funnel in the body that does not belong to {appUUID} answers 400.