getSettingsShippingProfile function
Future<ApiResponse<SettingsShippingProfileRead> >
getSettingsShippingProfile(
- ExsitedClient client,
- Object shippingProfileId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/settings/shipping_profiles/{shipping_profile_id}
Get one shipping profile, under shipping_profile.
Implementation
Future<ApiResponse<SettingsShippingProfileRead>> getSettingsShippingProfile(
ExsitedClient client,
Object shippingProfileId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(SettingsUrls.settingsShippingProfile,
pathParams: {'shipping_profile_id': shippingProfileId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: SettingsShippingProfileRead.fromMap);