deleteSettingsShippingProfile function

Future<ApiResponse<Object?>> deleteSettingsShippingProfile(
  1. ExsitedClient client,
  2. Object shippingProfileId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

DELETE /api/{api_version}/settings/shipping_profiles/{shipping_profile_id}

Delete a shipping profile; answered 204.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteSettingsShippingProfile(
  ExsitedClient client,
  Object shippingProfileId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(SettingsUrls.settingsShippingProfile,
        pathParams: {'shipping_profile_id': shippingProfileId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);