Which API can get the packaging size set by the shop

I am developing a public application and want to get the package size set by the shop, but I cannot find the corresponding API,
I would like to know through which API the public application can get the package size information set by the shop.