Tenant / Credits
creditCreate
Ask for a credit; finance approves it unless the policy of the kind approves it automatically.
Arguments
currencyString!ISO 4217 currency code
valueString!Amount
organizationIdIDreasonStringidID!FULFILLMENTGOODS_RECEIPTRETURN_RECEIPTSHIPMENTsupportTicketIdIDThe support ticket of the client the credit is requested from; it then shows on that ticket.
typeCreditTypeCLAIMCOMPENSATIONCORRECTIONDISCOUNTReturns
applicationBlockingReasonStringapprovalStatusCreditApprovalStatus!APPROVEDPROPOSEDREJECTEDREVERTEDcarrierCodeStringcreatedAtDateTimeTz!idID!reasonString!subjectInvoiceLineBillableThe shipment, fulfilment, goods receipt or return receipt the credit is about.
typeCreditType!CLAIMCOMPENSATIONCORRECTIONDISCOUNTfield[String!]messageString!