OpenAPI 3.0.02026-08-128191,3203.4 MB

1c744a7590b4

accounting
salesorder

Update a salesorder

patch/accounting/{connection_id}/salesorder/{id}

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Salesorder

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time
updated_atstring date-time
posted_atstring date-time
contact_idstring
account_idstring
currencystring
total_amountnumber
status'DRAFT' | 'VOIDED' | 'AUTHORIZED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'SUBMITTED' | 'DELETED' | 'OPEN' | 'COMPLETED' | 'CANCELED'
sales_channelstring
organization_idstring
category_idsstring[]
order_numberstring
location_idstring
employee_user_idstring
device_idstring
fulfillment_type'DINE_IN' | 'TAKEOUT' | 'DELIVERY' | 'PICKUP' | 'CURBSIDE' | 'SHIPPING' | 'DIGITAL' | 'OTHER'
guest_countnumber
subtotal_amountnumber
tax_amountnumber
discount_amountnumber
tip_amountnumber
service_charge_amountnumber
refunded_amountnumber
closed_atstring date-time
subscription_idstring
rawobject

Response

Successful

idstring
created_atstring date-time
updated_atstring date-time
posted_atstring date-time
contact_idstring
account_idstring
currencystring
total_amountnumber
status'DRAFT' | 'VOIDED' | 'AUTHORIZED' | 'PAID' | 'PARTIALLY_PAID' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'SUBMITTED' | 'DELETED' | 'OPEN' | 'COMPLETED' | 'CANCELED'
sales_channelstring
organization_idstring
category_idsstring[]
order_numberstring
location_idstring
employee_user_idstring
device_idstring
fulfillment_type'DINE_IN' | 'TAKEOUT' | 'DELIVERY' | 'PICKUP' | 'CURBSIDE' | 'SHIPPING' | 'DIGITAL' | 'OTHER'
guest_countnumber
subtotal_amountnumber
tax_amountnumber
discount_amountnumber
tip_amountnumber
service_charge_amountnumber
refunded_amountnumber
closed_atstring date-time
subscription_idstring
rawobject