patchCommerceStoreByStoreid method

Future<void> patchCommerceStoreByStoreid(
  1. String storeid
)

Change part of a storefront

Loads the stored store and decodes the body over it, so only the fields the body names change and everything else keeps its stored value — the difference from the full replace, which clears what it is not told. Answers the merged entity. The id is resolved inside the caller org's own namespace, so an unknown or foreign id is 404. Requires an admin token, or one holding both store read and store write.

Parameters:

Implementation

Future<void> patchCommerceStoreByStoreid(String storeid,) async {
  final response = await patchCommerceStoreByStoreidWithHttpInfo(storeid,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}