#how to get expanded values from endpoint?

3 messages · Page 1 of 1 (latest)

cerulean heart
#

Hi there, I'm trying get expanded values from endpoint result.

example:
https://docs.medusajs.com/api/admin/#tag/Shipping-Profile/operation/PostShippingProfiles
products: Array of objects
The Products that the Shipping Profile defines Shipping Options for. Available if the relation products is expanded.
http://localhost:9000/admin/shipping-profiles?expand=products,shipping_options

API reference for Medusa's Admin endpoints. All endpoints are prefixed with /admin.

Authentication

There are two ways to send authenticated requests to the Medusa server: Using a user's API token, or using a Cookie Session ID.

Expanding Fields

In many endpoints you'll find an expand query parameter that can be passed to the endpo...

cerulean heart
#

@copper dragon

#

@copper dragon help me please