'exists:customers,id|required', 'brand' => 'exists:brands,id|required' ]; } protected function prepareForValidation() { $this->merge(['customer' => $this->route('customer')->id, 'brand' => $this->route('brand')->id]); } }