POST:xero.json
POST:xero.json
Description
Modify Xero settings.
Permission bit: "shop.modify"
Topic: Xero
Query Parameters
Unique shop identifier. See also: Unique Identifiers
Example: ?shop_id=sh_EQzGqWoY
Request Body
{ "customer_balance_account_code": "270", "daily_summary": true, "daily_summary_prefix": "DAILY", "discount_account_code": "356", "enabled": true, "invoice_status": "AUTHORISED", "payment_map": [ { "account_code": "404", "account_id": "550e8400-e29b-41d4-a716-446655440000", "gateway_id": "gw_EQzGqWoY" } ], "refund_adjustment_account_code": "200", "rounding_account_code": "860", "sales_account_code": "200", "sales_tax_account_code": "250", "shipping_account_code": "200", "synced_customers_at": "2014-09-04T12:23:34Z", "synced_orders_at": "2014-09-04T12:23:34Z", "synced_products_at": "2014-09-04T12:23:34Z", "tax_map": [ { "tax_rate_name": "VAT", "tax_type": "INPUT2" } ], "use_single_customer": false }
Response Body
Response Body Type
Loading module