postCommerceStoreByStoreid method
Method-override tunnel for clients that cannot send PUT, PATCH or DELETE
Re-dispatches the request into the handler the intended verb would have reached, taking that verb from a _method form value or query parameter and then from the X-HTTP-Method-Override header, the header winning when both are present. Only PUT, PATCH and DELETE are accepted; anything else resolves to 405. The trap is the default: naming NO override at all is treated as a partial update, never as a create. Authorization is whatever the underlying operation requires, since the real handler runs.
Parameters:
- String storeid (required):
Implementation
Future<void> postCommerceStoreByStoreid(String storeid,) async {
final response = await postCommerceStoreByStoreidWithHttpInfo(storeid,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}