putCommerceStoreByStoreidListingByKey method
Upsert a listing override
Decodes the body over the existing listing when the key is present, so fields it omits keep their stored values, and builds the listing from the body alone when the key is new. Answers 200 when it replaced something and 201 with a Location header when it created it; either way the body is the store's entire listing map, not the single entry. Unlike creation, this path does NOT restamp the listing's currency from the store. Admin-gated, with the store resolved inside the caller org's namespace.
Parameters:
Implementation
Future<void> putCommerceStoreByStoreidListingByKey(String storeid, String key,) async {
final response = await putCommerceStoreByStoreidListingByKeyWithHttpInfo(storeid, key,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}