BillingInvoices
Update Invoice
Update an existing invoice with partial data
Authorization
api_key x-access-token<token>
In: header
Path Parameters
invoice_id*string
The ID of the invoice to update
Request Body
application/json
Input for updating an invoice
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/shipos/invoices/string" \ -H "Content-Type: application/json" \ -d '{}'{ "merchant_team_name": "string", "merchant_team_id": "string", "fulfiller_team_name": "string", "fulfiller_team_id": "string", "fulfillment_delegation_id": "string", "error_message": "string", "started_calculation_at": "2019-08-24T14:15:22Z", "credit_amount": 0.1, "subscription_amount": 0.1, "minimum_amount": 0.1, "subtotal_amount": 0.1, "total_amount": 0.1, "status": "PAID", "due_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z", "start_date": "2019-08-24T14:15:22Z", "currency": "string", "invoice_number": "string", "name": "string", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "id": "string", "fulfillment_delegation": { "override_rate_card_name": "string", "override_rate_card_id": "string", "base_rate_card_name": "string", "base_rate_card_id": "string", "default_carton_id": "string", "config": { "require_pack_shot": true, "show_unfulfilled_items_on_packing_list": true, "show_prices_on_packing_slip": true, "tote_qa_enabled": true, "notify_customer_on_fulfillment": true, "auto_accept_fulfillment_requests": true, "auto_accept_cancellation_requests": true, "auto_reject_unshippable_orders": true, "address_verification_enabled": true, "incoterm": "FAS", "incoterm_location": "string", "eel_pfc": "string", "delivery_confirmation": "NO_SIGNATURE", "saturday_delivery": true, "insurance_policy": { "mode": "none" }, "customs_signer": "string", "customs_signer_title": "string", "customs_certify": true, "non_delivery_option": "ABANDON", "restriction_type": "NONE", "restriction_comments": "string", "contents_type": "OTHER", "contents_explanation": "string", "commercial_invoice_transaction_reason": "SALE", "declaration": "string", "commercial_invoice_payment_terms": "string", "commercial_invoice_transport_mode": "string", "commercial_invoice_port_of_entry": "string", "commercial_invoice_country_of_transshipment": "string", "commercial_invoice_package_marks": "string", "commercial_invoice_freight_amount": 0, "commercial_invoice_discount_amount": 0, "commercial_invoice_other_charge_amount": 0, "commercial_invoice_other_charge_description": "string", "commercial_invoice_importer_tax_id": "string", "commercial_invoice_importer_vat": "string", "commercial_invoice_importer_eori": "string", "commercial_invoice_importer_ioss": "string", "commercial_invoice_vat_statement": "string", "commercial_invoice_export_license_number": "string", "destination_control_statement_required": true, "shipping_correction_pricing_policy": "ORIGINAL_SHIPPING_MULTIPLIER", "shipping_correction_custom_multiplier": 0 }, "enforce_enabled_cartons": true, "fulfillment_paused_at": "2019-08-24T14:15:22Z", "payment_terms": "NET_7", "payment_period": "WEEKLY", "currency": "string", "merchant_team_name": "string", "merchant_team_id": "string", "fulfiller_team_name": "string", "fulfiller_team_id": "string", "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "id": "string" }}