putCommerceStoreByStoreid method
Replace a storefront outright
This is a true REPLACEMENT, not a merge: the stored key is preserved but the body is decoded onto a fresh entity, so every field the body omits is written back as its zero value. Use the partial update when you mean to change part of a store. The id is resolved inside the caller org's own namespace, so an unknown or foreign id is a 404 before anything is written. Requires an admin token, or one holding both store read and store write.
Parameters:
- String storeid (required):
Implementation
Future<void> putCommerceStoreByStoreid(String storeid,) async {
final response = await putCommerceStoreByStoreidWithHttpInfo(storeid,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}