Commerce settings
Retrieve commerce settings
GET
/commerce_settingsHeaders
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Returns
Your Commerce settings for the key's environment.
resourcestringinvoicingobjectShow 6 child attributesHide child attributes
enabledbooleanWhether orders get an invoice unless a session's invoice_creation says otherwise.
number_prefixstringThe invoice series' prefix. The number follows it.
next_numberintegercredit_note_prefixstringnext_credit_note_numberintegersellerobjectThe seller details on your invoices and credit notes. Until you set them, they're your legal entity's.
Show 4 child attributesHide child attributes
legal_namestringaddressobject or nullnull when you haven't set one and your legal entity has none.
Show 2 child attributesHide child attributes
Option 1objectShow 6 child attributesHide child attributes
line1stringline2string or nullcitystringstatestring or nullpostal_codestringcountrystringTwo-letter country code (ISO 3166-1 alpha-2).
Option 2nulltax_idstring or nullemailstring or nullWhere buyers' replies to invoice emails go. null when you haven't set one and your legal entity has none.
test_modebooleanupdatedstring or nullnull until the first update.
Errors
401The API key is missing or wrong.
403The key's permissions don't allow this route.
Was this page helpful?