SwapsResource
swaps.SwapsResource
Methods
create
create(payload
, customHeaders?
): ResponsePromise
<StoreSwapsRes
>
Parameters
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreSwapsRes
>
Description
Creates a swap from a cart
retrieveByCartId
retrieveByCartId(cart_id
, customHeaders?
): ResponsePromise
<StoreSwapsRes
>
Parameters
cart_id
stringRequiredid of cart
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreSwapsRes
>
Description
Retrieves a swap by cart id
Was this section helpful?