Interfaces
Interface: SubscriptionUpdateProps
docid\ zoz6w56ubppacr0po0gls subscriptionupdateprops properties actionabledate • optional actionabledate string a date string representing when the subscription should resume the minimum date is the next day if actionabledate is omitted, the subscription will be resumed the next day defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l94 bill address attributes • optional bill address attributes type alias subscriptionaddress docid\ uyblucuwyxp84bzgkkmev an object representing the billing address all fields need to be sent even if only a single field is updated defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l63 enddate • optional enddate string a string representing the end date of the subscription if null , the subscription will renew indefinitely defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l88 intervallength • optional intervallength number the number of units example if the subscription should be delivered every three months, this would be 3 defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l78 intervalunits • optional intervalunits type alias intervalunit docid\ h2vbxcfageg1o1jrzu6wk the interval unit example if the subscription should be delivered every three months, this would be month defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l83 lineitemsattributes • optional lineitemsattributes subscriptionupdatelineitemattributes \[] an object representing the line item attributes to be updated to change the variant in the subscription, pass two lineitemsattributes objects in the array, one representing the variant to be removed with destroy true , and one respresenting the variant to be added defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l102 payment source attributes • optional payment source attributes type alias subscriptionpaymentsource docid\ ivmgdfcna7pgx8kx wbnm an object representing the payment source all fields need to be sent even if only a single field is updated defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l73 ship address attributes • optional ship address attributes type alias subscriptionaddress docid\ uyblucuwyxp84bzgkkmev an object representing the shipping address all fields need to be sent even if only a single field is updated defined in https //github com/chordcommerce/chord ui/blob/2b105e1/packages/react autonomy/src/redux/actions/subscriptions/update subscription ts#l68