AdminOrdersResource
admin/orders.AdminOrdersResource
Methods
addShippingMethod
addShippingMethod(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
archive
archive(id
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
cancel
cancel(id
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
cancelClaim
cancelClaim(id
, claimId
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredclaimId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
cancelClaimFulfillment
cancelClaimFulfillment(id
, claimId
, fulfillmentId
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredclaimId
stringRequiredfulfillmentId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
cancelFulfillment
cancelFulfillment(id
, fulfillmentId
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredfulfillmentId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
cancelSwap
cancelSwap(id
, swapId
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredswapId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
cancelSwapFulfillment
cancelSwapFulfillment(id
, swapId
, fulfillmentId
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredswapId
stringRequiredfulfillmentId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
capturePayment
capturePayment(id
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
complete
complete(id
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
createClaim
createClaim(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
createClaimShipment
createClaimShipment(id
, claimId
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredclaimId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
createFulfillment
createFulfillment(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
createShipment
createShipment(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
createSwap
createSwap(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
createSwapShipment
createSwapShipment(id
, swapId
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredswapId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
fulfillClaim
fulfillClaim(id
, claimId
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredclaimId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
fulfillSwap
fulfillSwap(id
, swapId
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredswapId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
list
list(query?
, customHeaders?
): ResponsePromise
<AdminOrdersListRes
>
Parameters
query
AdminGetOrdersParamscustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersListRes
>
processSwapPayment
processSwapPayment(id
, swapId
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredswapId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
refundPayment
refundPayment(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
requestReturn
requestReturn(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
retrieve
retrieve(id
, query?
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
Returns
ResponsePromise
<AdminOrdersRes
>
update
update(id
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>
updateClaim
updateClaim(id
, claimId
, payload
, customHeaders?
): ResponsePromise
<AdminOrdersRes
>
Parameters
id
stringRequiredclaimId
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminOrdersRes
>