Skip to main content

create and update

In v2, billing and payment settings are top-level flags, not a billing_configuration object: --payment-provider, --payment-provider-code, --provider-customer-id, --sync-with-provider, --document-locale, --invoice-grace-period, --periodic-invoice-issuing-date-anchor, --periodic-invoice-issuing-date-adjustment. Shipping address fields take the --shipping-address- prefix. --metadata and --integration-customers are full replacements on update. Send each existing entry with its id to keep it. Omitted entries are deleted, and an empty array removes them all. A customer holds at most five metadata entries. Contracts, not customers, carry what a customer buys. See Contracts and customer management.