Skip to main content
Skip to main content

AdminOrdersResource

admin/orders.AdminOrdersResource

Methods

addShippingMethod

addShippingMethod(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

archive

archive(id, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

cancel

cancel(id, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

cancelClaim

cancelClaim(id, claimId, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
claimIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

cancelClaimFulfillment

cancelClaimFulfillment(id, claimId, fulfillmentId, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
claimIdstringRequired
fulfillmentIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

cancelFulfillment

cancelFulfillment(id, fulfillmentId, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
fulfillmentIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

cancelSwap

cancelSwap(id, swapId, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
swapIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

cancelSwapFulfillment

cancelSwapFulfillment(id, swapId, fulfillmentId, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
swapIdstringRequired
fulfillmentIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

capturePayment

capturePayment(id, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

complete

complete(id, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

createClaim

createClaim(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

createClaimShipment

createClaimShipment(id, claimId, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
claimIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

createFulfillment

createFulfillment(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

createShipment

createShipment(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

createSwap

createSwap(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

createSwapShipment

createSwapShipment(id, swapId, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
swapIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

fulfillClaim

fulfillClaim(id, claimId, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
claimIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

fulfillSwap

fulfillSwap(id, swapId, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
swapIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

list

list(query?, customHeaders?): ResponsePromise<AdminOrdersListRes>

Parameters

customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersListRes>

ResponsePromiseResponsePromise<AdminOrdersListRes>Required

processSwapPayment

processSwapPayment(id, swapId, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
swapIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

refundPayment

refundPayment(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

requestReturn

requestReturn(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

retrieve

retrieve(id, query?, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

update

update(id, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required

updateClaim

updateClaim(id, claimId, payload, customHeaders?): ResponsePromise<AdminOrdersRes>

Parameters

idstringRequired
claimIdstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminOrdersRes>

ResponsePromiseResponsePromise<AdminOrdersRes>Required
Was this section helpful?