AdminOrderEditsResource
admin/order-edits.AdminOrderEditsResource
Methods
addLineItem
addLineItem(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
cancel
cancel(id
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
confirm
confirm(id
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
create
create(payload
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
delete
delete(id
, customHeaders?
): ResponsePromise
<DeleteResponse
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<DeleteResponse
>
deleteItemChange
deleteItemChange(orderEditId
, itemChangeId
, customHeaders?
): ResponsePromise
<AdminOrderEditItemChangeDeleteRes
>
Parameters
orderEditId
stringRequireditemChangeId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditItemChangeDeleteRes
>
list
list(query?
, customHeaders?
): ResponsePromise
<AdminOrderEditsListRes
>
Parameters
query
GetOrderEditsParamscustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsListRes
>
removeLineItem
removeLineItem(orderEditId
, itemId
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
orderEditId
stringRequireditemId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
requestConfirmation
requestConfirmation(id
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
retrieve
retrieve(id
, query?
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
update
update(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>
updateLineItem
updateLineItem(orderEditId
, itemId
, payload
, customHeaders?
): ResponsePromise
<AdminOrderEditsRes
>
Parameters
orderEditId
stringRequireditemId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrderEditsRes
>