Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

280 B
Raw Blame
import { MedusaContainer } from "@medusajs/framework"
import { refetchEntity } from "@medusajs/framework/http"

export const refetchPayout = async (id: string, scope: MedusaContainer, fields: string[]) =>
  await refetchEntity({ entity: "payout", idOrFilter: id, scope, fields })