GET
/
admin
/
fulfillment-providers
/
{id}
/
options
import Medusa from "@medusajs/js-sdk"

export const sdk = new Medusa({
  baseUrl: import.meta.env.VITE_BACKEND_URL || "/",
  debug: import.meta.env.DEV,
  auth: {
    type: "session",
  },
})

sdk.admin.fulfillmentProvider.listFulfillmentOptions("fp_123")
.then(({ fulfillment_options }) => {
  console.log(fulfillment_options)
})
{
"limit": 123,
"offset": 123,
"count": 123,
"fulfillment_options": [
{
"id": "<string>",
"is_return": true
}
],
"estimate_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The fulfillment provider's ID.

Response

200
application/json

OK

The paginated list of fulfillment options.